Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message: "Permission denied, please try again" . Then after attempting to type my password in get the last message: " Permission denied (publickey,password)" However I can ssh to the computer through Nautilus, with no problem.

share|improve this question
    
Can you share the ssh command line you are using? Do you have a .ssh/config file on the guest machine? –  Danny Staple Sep 24 '11 at 22:00

1 Answer 1

Logging in from the terminal by default tries to log into the remote machine with your username on the local machine. In Nautilus you have to explicitly type in your username on the remote machine. I am guessing that your local and remote usernames do not match.

Use ssh user@server to log in with a different username.

share|improve this answer

Your Answer

 
discard

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.