ssh-keygen -t rsa
pscp ~/.ssh/id_rsa.pub remote@192.168.1.1:/home/xx/
ssh remote@192.168.1.1
mkdir .ssh
cat id_rsa.pub >> .ssh/authorized_keys
Done.
ssh-keygen -t rsa
pscp ~/.ssh/id_rsa.pub remote@192.168.1.1:/home/xx/
ssh remote@192.168.1.1
mkdir .ssh
cat id_rsa.pub >> .ssh/authorized_keys
Done.