ssh/scp used keyless....more secure
Net Llama!
netllama
Sun Aug 28 15:43:42 PDT 2005
On 08/28/2005 01:30 PM, Bruce Marshall wrote:
> 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
FC4 is using openssh-4.1p1-3.1
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
LlamaLand http://netllama.linux-sxs.org
14:05:01 up 13 days, 23:56, 1 user, load average: 0.72, 0.52, 0.33
More information about the Linux-users
mailing list