Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password)
When I try to ssh to a Linux from Macbook using
ssh userID@hostname I have following error: Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password) Could anyone can help me to solve the problem? Thanks |
Few checks
Are you using user/pass or keys?
If using a user/pass 1) Make sure username exists on remote machine 2) Make sure user/password are correct. If using keys 1) Make sure your local public key is in the authorized_keys file on the remote machine 2) Ensure your permissions are for the current user only in the home and .ssh directories (ie 700 or 644) 3) Ensure your sshd config allows key authentication If you're loggin in as root make sure root login is allowed on the remote machine. |
All times are GMT -5. The time now is 05:57 PM. |