diff options
Diffstat (limited to 'linux/arch-install.md')
| -rw-r--r-- | linux/arch-install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/arch-install.md b/linux/arch-install.md index 8bed3c9..c1f3c92 100644 --- a/linux/arch-install.md +++ b/linux/arch-install.md @@ -23,8 +23,8 @@ `# 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]` + - 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`. - Connect to the target machine on the local machine via ssh `# ssh -p <port> [email protected]` |