I'm using Maemo on my Nokia N900. It's basically Debian Lenny. It's running OpenSSH 5.1p1.
I'm trying to connect to the phone via SSH. I have it connected to the computer, and I can ping the IP address and attempt an SSH connection. The problem is I can not log in with the user password.
I do the following from my machine:
ssh [email protected] (this is the phone's IP)
I get asked for the password and enter it. It returns with password incorrect after 3 attempts.
I have tried to reset the password using passwd and passwd root. I can successfully change the password. I've rebooted sshd, and the phone, to no avail.
On the phone, if I run ssh root@localhost it asks for the password and works fine. But doesn't seem to work if I try to login from my machine. The IP is definitely correct and is the correct device.
Is there any reason why this may not be working?
Here's the output when I try connect:
ssh [email protected]
The authenticity of host '192.168.2.17 (192.168.2.17)' can't be established.
ECDSA key fingerprint is SHA256:0AnEm/7SPc9ELe7ZGXacXeVVKjbpSsADNPSx0Fay45Y.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.17' (ECDSA) to the list of known hosts.
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
In /etc/ssh/sshd_config ... PermitRootLogin is set to yes (I know this is bad, but this is a dummy phone for local use only). RSAAuthentication and PublicKeyAuthentication are both set to yes.
After running sh -v -v [email protected]:
debug1: Authentications that can continue: publickey,keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1