ssh/scp used keyless....more secure

Bruce Marshall bmarsh
Sun Aug 28 15:03:20 PDT 2005


On Sunday 28 August 2005 11:14 am, Net Llama! wrote:
> On 08/28/2005 07:28 AM, Bruce Marshall wrote:
> > On Saturday 27 August 2005 11:03 pm, Net Llama! wrote:
> >> If you already do have an ~/.ssh/authorized_keys on the server for your
> >> user, then you need to append your ~/.ssh/id_dsa.pub to the end of
> >> ~/.ssh/authorized_keys.  So scp ~/.ssh/id_dsa.pub to the server, and
> >> then this should do the trick:
> >> cat id_dsa.pub >> ~/.ssh/authorized_keys
> >>
> >> At this point, you're done, and you should be able to ssh/scp to that
> >> server without passwords.
> >
> > Or more easily, in either case,   use from the client side:
> >
> > ssh-copy-id  -i  ~/.ssh/id_dsa.pub  <user>@<server>
> >
> > You'll be asked for the <user> password on the server and the copy will
> > complete.
>
> ssh-copy-id doesn't seem to exist on any RH/FC systems.


SuSE 9.3 is using:    openssh-3.9p1-12





More information about the Linux-users mailing list