Re: remote sudo script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux