How to set ssh password free login and installation under Ubuntu
- 2020-05-09 19:47:07
- OfStack
1. First install openssh-server and openssh-client on the machine.
Command: sudo apt-get install openssh-server openssh-client
2, in the current directory to check whether there is the file.ssh, if not, mkdir.
3. Generate public and private keys. Order: ssh-keygen-t rsa
4. Copy id_isa_pub in the.ssh file to authorized_keys on another machine. And change the authorized_keys permission to 600.
5. ssh nodeXX will do