in reply to Re^2: OpenSSH and multiple users
in thread OpenSSH and multiple users
Of course, you will need to remove the corresponding "exit", because this will run the command, and exit automatically.$ssh->system("su -c 'show status' admin");
"I can cast out either one of your demons, but not both of them." -- the XORcist
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: OpenSSH and multiple users
by judgemstr (Novice) on Jan 04, 2016 at 22:46 UTC | |
by NetWallah (Canon) on Jan 05, 2016 at 04:24 UTC | |
by afoken (Chancellor) on Jan 05, 2016 at 06:02 UTC | |
by judgemstr (Novice) on Jan 07, 2016 at 18:25 UTC | |
by salva (Canon) on Jan 07, 2016 at 18:53 UTC |