ssh/scp used keyless....more secure

Net Llama! netllama
Sun Aug 28 09:49:34 PDT 2005


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.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

  08:10:01 up 13 days, 18:01,  1 user,  load average: 0.00, 0.01, 0.00


More information about the Linux-users mailing list