Topic : SSH into OS X from cygwin fail: Permission denied, try again

Hey all, I've been all over the intarwebs trying to find an answer to this, I'm hoping someone here can help me.

I'm attempting to ssh into my mac (OS X 10.5.5) from windows XP sp3 running cygwin (successfully installed ssh libraries).

I can get to the point to accept the RSA to the list of known hosts, but when I put in the password (which I know is right) it denies giving the error:

"Permission denied, please try again."

Here is the syntax I'm using:

ssh user@computername.domain.com

I know it's not an issue with cygwin, because I'm successful in tunneling into my xp machine from my mac. It's just the vice-versa that isn't working.

I've found some comments about PAM being off, causing errors, so I enabled it in sshd_config. This had not effect whatsoever.

Ideas? Comments?

Thanks in advance!

2x2.8 Ghz Quad-Core Intel Xeon, Mac OS X (10.5.5)

Posted on Oct 27, 2008 11:36 AM

Reply
16 replies

Oct 28, 2008 8:26 AM in response to Tyrun

There is no ~/.ssh/authorized keys folder/file - should there be one if I haven't created one?


Your ssh -vvv output seems to think there is a /home/user/.ssh/known_hosts. I don't know where it is getting this, but ssh thinks it found it.

debug3: checkhost_inhostfile: filename /home/user/.ssh/known_hosts
debug3: checkhost_inhostfile: match line 1
debug1: Host 'macmachine.com' is known and matches the DSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:1

In your Cygwin environment you might try

ls /home/user/.ssh
ls $HOME/.ssh
ls /home/$USERNAME/.ssh

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Topic : SSH into OS X from cygwin fail: Permission denied, try again

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.