Re: [SLUG] Re: SFTP Help

From: Ian C. Blenke (icblenke@nks.net)
Date: Tue Oct 11 2005 - 11:54:47 EDT


Keith Lelacheur wrote:

> Alright I am trying to use scp, but I am new to the whole
> public/private key thing. SCP wants to work but it is failing
> authentication at the key level and resorting back to password
> authentication. I am sure I am missing something basic, but I not
> sure what it is at this point. Here is the verbose output (sanitized
> of course). Any help is appreciated.

On LNXPROCSRVR, do:

    [root@LNXPROCSVR Backup051011]# ssh-keygen -b 1024 -t dsa -P''
    [root@LNXPROCSVR Backup051011]# scp ~/.ssh/id_dsa.pub
root@69.?.?.?:.ssh/authorized_keys

Now you have root key trust, without a passphrase, which you can use to
automate that SCP without entering a password.

With google and a bit of searching, there are a number of good guides as
to how this works.

- Ian C. Blenke <icblenke@nks.net> <ian@blenke.com> http://ian.blenke.com

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:10:09 EDT