I need to sudo to my server after logging in with SFTP over SSH.
For security we do not allow direct logins with root, so we use individual accounts, then su. For my client I have a detection then make an auto entry. so it looks like this:
So basically i'm typing su, then when prompted entering the password.
I can't figure out how to structure this in the 'perform command' line because i cannot do this in one stroke, it takes a request, response then answer.
I cant seem to locate where to do this. i can login fine using my keyfile, i just need to su once in.
Edited by John T, 15 March 2014 - 05:48 AM.