Referencia: https://docs.google.com/document/d/1HP5ao3LwgQ1EkdRb3ksiMg8zdrpJXjSIH_XG2RFHyes/edit#
laptop $ mkdir -p ~/.ssh
laptop $ wget -O ~/.ssh/duckietown_key1 "https://www.dropbox.com/s/q23qptu01u7ur3y/duckietown_key1?dl=1"
laptop $ chmod 600 ~/.ssh/duckietown_key1
laptop $ ssh-keygen -f ~/.ssh/duckietown_key1 -y > ~/.ssh/duckietown_key1.pub
laptop $ nano ~/.ssh/config
Dentro del archivo, con la interfaz de nano
, escribir
Host duckiebot
Hostname duckiebot.local
User duckiebot
IdentityFile ~/.ssh/duckietown_key1
HostKeyAlgorithms ssh-rsa
laptop $ ssh duckiebot
mkdir .ssh
chmod g-rwx,o-rwx .ssh
wget -O .ssh/authorized_keys https://www.dropbox.com/s/pxyou3qy1p8m4d0/duckietown_key1.pub?dl=1