David Coulson on 20 Oct 2011 09:44:00 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Setting up SSH public key on OSX


You need to put the contents of id_rsa.pub in ~/.ssh/authorized_keys on the remote side. You also need to ensure .ssh and authorized_keys are not group or world read/execute.

The -C option doesn't do anything useful for ssh-keygen.

FYI, the OS X ssh config is identical to anything else using OpenSSH.

David

On 10/20/11 12:37 PM, Paul Walker wrote:
I'm trying to set up a public key to connect to SSH using public key authentication to improve my Git workflow.... 

The remote server is Ubuntu 10.0.4.
I generate the keys with the command:

ssh-keygen -t rsa -C "root@mydomain.com"

press return three times, then am pasting the contents of  id_rsa.pub into a newly created authorized_keys file in ~/.ssh/ on my local machine running OSX... 

This isn't working.

Anyone familiar with the configuration on OSX / Ubuntu can tell me what's wrong or point me in the right direction

Thanks in advance

Paul


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug