[CentOS] remote sudo script

Tue Oct 8 05:28:37 UTC 2013
John R Pierce <pierce at hogranch.com>

On 10/7/2013 7:51 PM, Tim Dunphy wrote:
> Any thoughts on how I should be going about this?

use ssh keys rather than password authentication....  see: man ssh-keygen

short version, on local system, run ssh-keygen to create a public and 
private key for the local account, and append the public key 
~/.ssh/id_dsa.pub on the local system to the ~/.ssh/authorized_keys2 
file on the remote system.  once you've done this, ssh/scp/sftp will 
connect without prompting for a password.



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast