Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I attempt to SSH to anything from my iMac (SSH, git, etc.), SSH freezes at debug1: SSH2_MSG_SERVICE_ACCEPT received. This only happens on my account; I created a new account as a test and everything worked fine. I did reinstall SSH, but both accounts use the same executable. I can SSH to my computer from other computers, so I'm assuming that the problem lies with ssh and not with sshd.

SSH version: OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011
OS X Version: Version 10.6.8 build 10K549
Log: http://pastebin.com/wrugsYhf (I use a custom port, 7742)

Is there anything I can do? Thanks in advance.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Running unset SSH_AUTH_SOCK in Terminal worked for me, though I'm currently unsure why. One thing I did not mention in the body of my question was that I had to modify /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist in order to get sshd to work: here's a link to my org.openbsd.ssh-agent.plist in case anyone in the future thinks they know what caused the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.