diff --git a/ubuntu/README.md b/ubuntu/README.md index 8ffbb9b..8ad1ace 100644 --- a/ubuntu/README.md +++ b/ubuntu/README.md @@ -79,3 +79,16 @@ $ sudo apt-get remove nodejs $ sudo apt autoremove ``` +* ssh id + +```shell +$ ssh-keygen + +// copy ssh public key to host .ssh/authorized_keys to allow passwordless ssh +$ ssh-copy-id -i abc@host + +// alternatively, copy local .ssh/rsa_id.pub content into target server authorized_keys + + +``` +