[KLUG Members] scp

Dirk Bartley members@kalamazoolinux.org
09 Mar 2003 09:09:39 -0500


On Sun, 2003-03-09 at 00:42, Dirk Bartley wrote:
> On Sat, 2003-03-08 at 21:18, Jon Smitley wrote:
> > Need a little help copying my new dsa key from my client to my host.  
> > Anyone have an example of this.  I'm using ssh-2 on an OS X laptop and 
> > Suse 8.0 Pro as a desktop.
> 
> The easy way.
> 
> cd ~/.ssh 
> cat id_dsa.pub | ssh host 'cat >> ~/.ssh/authorized_keys2'
> 
> (replace host with the host or ip address as required)
> 
> scp will overwrite.  You may already have other keys in the
> authorized_keys file and not want to use scp.  _OR_  Use scp to copy the
> file to deleteme and then use vi with mouse drag drops or whatever
> method you choose like redirection to succeed.  As long as the result is
> to append the contents of id_dsa from the client to the authorized_keys2

one correction.  above line should say id_dsa.pub not id_dsa.

Dirk

> file on the server.
> 
> Dirk
> > 
> > Jon Smitley
> > Minding of Madness
> > 
> > _______________________________________________
> > Members mailing list
> > Members@kalamazoolinux.org
> > 
> 
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>