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