I'm running two OSes, one (Backtrack 5) as a guest in VirtualBox and the other (Ubuntu 13.04) as the host. Now when I connect to my host through ssh (host-only connection):
$ ssh 198.168.*.* -vvv
I'm prompted for a password and when I enter the password I get the following error occurs:
debug3: packet_send2: adding 64 (len 58 padlen 6 extra_pad 64) debug2: we sent a password packet, wait for reply debug3: Wrote 144 bytes for a total of 1271 debug1: Authentications that can continue: publickey,password Permission denied, please try again.
I've tried it again and again so I know that my password isn't wrong. On my host machine when I type:
$ ssh localhost
it connects normally after typing the password, but when I issue this on guest it says:
Read from socket failed: Connection reset by peer Connection closed by UNKNOWN
What is the problem?
edit: the first of my problem was I was trying
but it should be
cant connect to host though. Its refusing the connection