2

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.

1
  • Can you share the ssh command line you are using? Do you have a .ssh/config file on the guest machine? Sep 24, 2011 at 22:00

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .