RE: [pfSense Support] SSH direct shell access
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 <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pfSense Support] SSH direct shell access
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]
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 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]
[pfSense Support] SSH direct shell access
Title: SSH direct shell access 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