Paul Walker on 20 Oct 2011 11:13:38 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Setting up SSH public key on OSX |
where is the sshd log from the remote side? That is more useful.
On 10/20/11 1:56 PM, Paul Walker wrote:It appears from this debugging info that validation indeed occurs, however the remote end is still prompting for a password...
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009debug1: Reading configuration data /etc/ssh_configdebug1: Connecting to hostname.com [IP] port 22.debug1: Connection established.debug1: identity file /Users/user/.ssh/identity type -1debug1: identity file /Users/user/.ssh/id_rsa type -1debug1: identity file /Users/user/.ssh/id_dsa type 2debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu7debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH*debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_5.2debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-ctr hmac-md5 nonedebug1: kex: client->server aes128-ctr hmac-md5 nonedebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUPdebug1: SSH2_MSG_KEX_DH_GEX_INIT sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLYdebug1: Host 'hostname.com' is known and matches the RSA host key.debug1: Found key in /Users/user/.ssh/known_hosts:5debug1: ssh_rsa_verify: signature correctdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickey,passworddebug1: Next authentication method: publickeydebug1: Trying private key: /Users/user/.ssh/identitydebug1: Trying private key: /Users/user/.ssh/id_rsadebug1: Offering public key: /Users/user/.ssh/id_dsadebug1: Authentications that can continue: publickey,passworddebug1: Next authentication method: password
On Thu, Oct 20, 2011 at 1:33 PM, Jeff Bailey <skydiver38@verizon.net> wrote:
Yes, put the public key in the remote machine's authorized_keys file...I think pub goes on the remote machine -- but i'm not sure.(484) 832-1055
Matthew Berlin
arkestra@gmail.com
535 Misty Patch Rd.
Coatesville, PA 19320
On Thu, Oct 20, 2011 at 12:37 PM, Paul Walker <starsinmypockets@gmail.com> 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
___________________________________________________________________________
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
___________________________________________________________________________
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