diff options
Diffstat (limited to 'linux/arch-install.md')
| -rw-r--r-- | linux/arch-install.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/arch-install.md b/linux/arch-install.md index a33154b..1de69ec 100644 --- a/linux/arch-install.md +++ b/linux/arch-install.md @@ -19,6 +19,10 @@ `# vim /etc/ssh/sshd_config` - Reload the sshd daemon on the remote machine `# pkill sshd && /usr/bin/sshd` + - Generate keys + `# ssh-keygen A` + `# ssh-keygen` + > NOTE: No need to enter passphrase unless desired. - OpenSSH has a utility to send the key remotely to either machine, only use the `-p` flag if specifying a `<port>` to use `$ ssh-copy-id -p <port> -i ~/.ssh/id_rsa.pub [email protected]` > NOTE: Working out which `<port>` to use (default is usually 22) might also require trial and error dependent on remote/local configurations. Some commands to check current active ports: `lsof -Pi | grep ssh` and `netstat -lntu`. |