ssh - root can login but user fails

May 5, 2012 at 11:02:11
Specs: Ubuntu 11.04, AMD Phenom II 4X
Hi all,

Ubuntu 11.04 desktop host
Ubuntu 10.04 desktop VM
virtualizer Oracle VirtualBox

On host;

Running;
$ ssh -X user@192.168.0.218
I can't login the VM with user password
Warning;
Permission denied (publickey,password).

But running;
$ ssh -X root@192.168.0.218
I can login VM with root password.

Having tried 3 hours without a solution. Please help.

TIA

B.R.
satimis


See More: ssh - root can login but user fails

Report •

#1
May 5, 2012 at 11:18:05
Does ubuntu have a users command? If so, run it to see if the user is in the list.

How do you know when a politician is lying? His mouth is moving.


Report •

#2
May 5, 2012 at 12:59:53
Obviously the user needs to exist on the computer you are sshing to (root will exist on both the computers), but you must have checked that.

What do the logs on the remote machine tell you? You might try running sshd with the -d switch to get debugging output.


Report •

#3
May 5, 2012 at 13:14:40
Just as a matter of interest, that message normally appears after three attempts to log on with the wrong credentials. Are you absolutely sure that the user exists on the computer you are sshing to and that you are using the correct password?

Report •

Related Solutions

#4
May 5, 2012 at 17:55:13
Hi guapo,

Please explain in more detail on "Does ubuntu have a users command? If so, run it to see if the user is in the list.". Thanks

satimis


Report •

#5
May 5, 2012 at 18:00:33
Hi ijack,

I see. The user is existing but I mistyped it. Now I can sshing it. Thanks

satimis


Report •

Ask Question