1.to generate an ssh key pair ssh-keygen all action under this command can be default 2.copy your public key to your server ssh-copy-id wk@server 3.now, you can login server without password

1.to generate an ssh key pair ssh-keygen all action under this command can be default 2.copy your public key to your server ssh-copy-id wk@server 3.now, you can login server without password