# from ssh localhost ssh-keygen -t rsa scp ~/.ssh/id_rsa.pub user@toHost:~ # to mkdir ~/.ssh # if not exist cat ~/id_rsa.pub >> ~/.ssh/authorized_keys

# from ssh localhost ssh-keygen -t rsa scp ~/.ssh/id_rsa.pub user@toHost:~ # to mkdir ~/.ssh # if not exist cat ~/id_rsa.pub >> ~/.ssh/authorized_keys