Re: remote sudo script

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



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



hey thanks. Already using keys. It's sudo that's the blocker. Also I would
use NOPASSWD on my sudo options, but there's some bureaucratic red-tape
involved there. Can't really go about enabling that myself without ruffling
some feathers. Otherwise thanks for the suggestions and keep 'em coming!


On Tue, Oct 8, 2013 at 1:28 AM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> 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
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
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