I want to login form my Linux based PC to my TV set over ssh without password, only using rsa certificates procedure. /mnt/etc/init.d/02_01_sshd.init starts dropbear in my tV. I changed line in this file to:
Code:
dropbear -s
to
dropbear -sg
to allow root login without password. Than I placed generated by ssh-keygen (on Linux PC) public key in to /mtd_rwarea/authorized_keys (permissions 600). This is default location for this file in TV.
The same key I use to connect to other Linux servers and it works without problems. But when I try to connect to my TV using syntax below, error about public key problem is rapport.
Code:
[maciek@piotr Pobrane]$ ssh -x -i ~/.ssh/id_rsa root@tv-w
Permission denied (publickey).
When I remove /mtd_rwarea/authorized_keys file, ssh login is possible but with password.
What I am doing wrong? Maybe Dropbear does not accept RSA keys generated by ssh-keygen on Linux PC?