Error connecting from Mac to Linux via SSH (Permission denied (publickey...
I have a perfectly working setup with my XP machine, Putty and my Suse Linux server that allow for remote login via SSH. I use Public Key authentication.
However, when I try to login from my Mac, all I get from the Mac side is a
"Permission denied (publickey,keyboard-interactive)."
And I can't establish the connection. On the server in 'messages' I get:
"sshd{6046}: Accepted publickey for {userName} from {myHomeIP} port 38335 ssh2"
What could be wrong here?
I would like to use the same keys on my PC and my Mac so I just copied the key files into the .ssh directory on the Mac, did a chmod 600 on them and then tried to remote log-on with the follwoing from the terminal:
"ssh -l {userName} {host} -i {keyFile}"
My questions are:
1) How am I sure that the Mac uses the right key files? (or uses them at all)
2) How come my server says "accept publickey" and no connection is established?
3) Do you have any other idea on how I might get this to work? What I need is a method to copy files (not via FTP) to my server and let the process run without supervision / user interaction.
Thanks a lot for all your help!
Cheers
Message was edited by: Sebastian_R (some typos)