ssh-copy-id

main
YIk Teng Hie 5 years ago
parent 344e6b3d72
commit 7f35a8ac68

@ -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
```

Loading…
Cancel
Save