ssh/scp used keyless....more secure
Bruce Marshall
bmarsh
Sun Aug 28 08:58:49 PDT 2005
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.
Done.
More information about the Linux-users
mailing list