On 01/02/08 07:19 -0500, John Mort wrote:
> That looks straightforward enough, one question though.  When you scp
> id_dsa.pub to porkchop.net:.ssh/authorized_keys, are you not
> overwriting .ssh/authorized_keys?  The account I log into on this box
> is an untrusted user account that he also uses, so I want to make sure
> I don't mess up anything he has set up there.

It would overwrite anything that was there. In my case, there was
nothing there.
If you want to add the new key, do something like:

(on local machine)
scp id_dsa.pub porkchop.net:freedom.key
(on server)
cat freedom.key >> .ssh/authorized_keys
-porkchop
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to