Simply digit
cd
If you dont' have already an ssh keychan generate it
ssh-keygen -t rsa -C "your@email.com"
Lastly
cat ~/.ssh/id_rsa.pub | ssh -p 0000 user@remote-host'cat >> ~/.ssh/authorized_keys'
0000
is the port that allows you to connect trough ssh
The first time it will asks you the remote password, but then it works