[clug] ssh to box, run shell command, then leave shell open?
Michael Hirt
linux at incanberra.com.au
Fri Apr 15 03:41:25 MDT 2011
ssh user at host "cd /; ls; /bin/sh"
Only problem with this is you don't get the usual shell prompt. You do have shell access on the remote host as uname -a will show.
More information about the linux
mailing list