[TriLUG] help with scp

Ryan Leathers ryan.leathers at globalknowledge.com
Tue Jul 15 10:12:21 EDT 2003


Here is how I have done this:

1. run ssh-keygen to generate your public and private keys.
2. scp your public key to $HOME/.ssh/ on the remote host 
3. ssh to the remote host and cat the public key you just copied there
to your .ssh/authorized_keys file.  

Ryan

On Tue, 2003-07-15 at 09:51, Daniel Monjar wrote:
> I have a several systems I routinely move files and ssh 'login' between.  I 
> know that by taking my public key and placing it somewhere on the target 
> system, like in known hosts or some other file, I can do all of this 
> without having to enter my password.  I know this because I did it once a 
> couple of years ago... but age has taken its toll and I can't get the 
> incantation quite right.
> 
> so, the question is:
> 
> Assume I have system 1 and 2, what do I put where to be able to scp from 1 
> to 2 without having to type in my password?
> 
> 
> --
> Daniel Monjar
> Manager, Technical Services
> bioMérieux, Inc.
> Durham, NC US
-- 
Ryan Leathers <ryan.leathers at globalknowledge.com>
Global Knowledge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030715/5db77dc3/attachment.pgp>


More information about the TriLUG mailing list