sudo ssh help...
From: firstname.lastname@example.org (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 ...
- running remote commands and gathering output
... I will call them local and remote. ... run a command on remote via ssh and gather whatever that command prints ... When I run the ssh command, it is actually executed, since the file ... out.txt grows with each execution. ...