sudo ssh help...
From: email@example.com (Mridul)
Date: 4 Apr 2003 04:16:03 -0800
I have a program that calls my program which invokes a system call.
The final command is equivalent to
sudo ssh -l blah 22.214.171.124 sudo <root previlege cmd>
I have set up the passphrases so that I do not have to type the
password for the ssh command.
ssh -l blah 126.96.36.199 sudo ps -eaf
runs just fine. No password required.
But, if I do 'sudo ssh... ', it asks me for the password.
How do I ensure that the passphrase is used instead?
- Re: Question on input password on ssh prompt
... I am writing a perl script running on the XP, ... command to the remote host. ... Is that a way I can feed it the password without install any ... into linux entry thru ssh command. ...
- Re: weakness in the restricted shell?
... noticed that commands appended to the ssh command will execute even ... though they are not in the users .profile PATH. ... The following command will not be ... Is there anyway of restricting users from performing this action? ...
- Re: crontab + rsync problem
... passphrases and authorized_keys files with 'from' and 'command' ... If you're using keys *without* passphrases, then I'm not sure why you ... debug1: Applying options for somehost.example.com ...
- Re: Alpine 1.10 and url-viewers
... using an ssh command to get to the remote. ... which launches and closes the browser just fine. ... Beartooth Implacable, PhD, Neo-Redneck Linux Convert ...
- Re: External command return codes
... The return code I get from the ssh command is 0 no matter what the ... You can redirect stdErr to Stdout & capture it also like this ... although there is quite a delay waiting for the command to return. ...