I am trying to log into SSH using the terminal:
ssh root@example.com -p54 -i ~/.ssh/ssh_key
Custom port number 45. Chmod 600 ssh_key.
I know that the SSH key works correctly because I can connect fine via Putty on windows. What could be the problem?
-vvto your ssh command line and reconnect. Paste the verbose output. – Zoredache Dec 8 '11 at 19:09