login in remote machine without passwd in ubunu using alias

$ ssh-keygen -t rsa
$ ssh-copy-id -i ~/.ssh/id_rsa.pub username@ip
$ alias node1="ssh username@ip"
$ node1

你可能感兴趣的:(login in remote machine without passwd in ubunu using alias)