RE: [pfSense Support] SSH direct shell access

2006-07-19 Thread Alastair Stevens
Thanks for this - I've already got my first Expect script working!  Very nice 
tool that I somehow had never come across before

CHeers
Alastair

-Original Message-
From: Randy B [mailto:[EMAIL PROTECTED]
Sent: Tue 18/07/2006 11:45
To: support@pfsense.com
Subject: Re: [pfSense Support] SSH direct shell access
 
Coming from having participated in design  authoring automated
systems that telnet/ssh to tens of thousands of devices and manage
them automatically, any such script worth it's salt is going to use
Expect and be able to handle multiple levels of indirection before a
shell prompt.  Contact me off-list if you need more explanation of
Expect.

RB
winmail.dat-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [pfSense Support] SSH direct shell access

2006-07-18 Thread Randy B

Coming from having participated in design  authoring automated
systems that telnet/ssh to tens of thousands of devices and manage
them automatically, any such script worth it's salt is going to use
Expect and be able to handle multiple levels of indirection before a
shell prompt.  Contact me off-list if you need more explanation of
Expect.

RB

On 7/18/06, Alastair Stevens [EMAIL PROTECTED] wrote:





Hi - I've seen that you can disable the *console* menu, but is it possible
to disable the menu for remote SSH connections, so that we get straight to a
shell?  We'd like to be able to run a remote command from a script, for
testing and failure simulation purposes.

 Or does anyone know another trick for getting through the menu and reaching
a shell automagically?

 Cheers
 Alastair

 SysAdmins Ltd
 Cambridge, UK



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pfSense Support] SSH direct shell access

2006-07-18 Thread Bill Marquette

On 7/18/06, Alastair Stevens [EMAIL PROTECTED] wrote:





Hi - I've seen that you can disable the *console* menu, but is it possible
to disable the menu for remote SSH connections, so that we get straight to a
shell?  We'd like to be able to run a remote command from a script, for
testing and failure simulation purposes.

 Or does anyone know another trick for getting through the menu and reaching
a shell automagically?


Use authorized keys and forced commands (the forced command could be a
script that evaluates $SSH_COMMAND and runs it).

--Bill

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]