This is for third party box ssh to Yun.

Replacing Dropbear by openssh-server:

http://wiki.openwrt.org/inbox/replacingdropbearbyopensshserver

At third party box:

mkdir ~/.ssh
chmod 700 ~/.ssh
cd ~/.ssh
ssh-keygen -t rsa -C "A comment... usually an email is enough here..."
scp -p id_rsa.pub root@192.168.0.102:/root

"192.168.0.102" is Yun IP address

At Yun:

mkdir ~/.ssh
chmod 700 ~/.ssh
cat id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
mv id_rsa.pub ~/.ssh
/etc/init.d/sshd restart

At third party box:

ssh root@192.168.0.102

 

 

 

 

Comments powered by CComment