Changes between Version 7 and Version 8 of SSHKEYGEN
- Timestamp:
- 05/26/21 02:44:21 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SSHKEYGEN
v7 v8 8 8 }}} 9 9 10 Then they will ask to enter default .ssh path10 Then they will ask to enter default .ssh path 11 11 {{{ 12 12 Enter file in which to save the key (/home/yourusername/.ssh/id_rsa): 13 13 }}} 14 14 15 We can key in any passphrase to make extra security but just press enter with empty key it will automate gen-key for you15 We can key in any passphrase to make extra security but just press enter with empty key it will automate gen-key for you 16 16 {{{ 17 17 Enter passphrase (empty for no passphrase): 18 18 }}} 19 19 20 Now the public and private key will be kept in20 Now the public and private key will be kept in 21 21 {{{ 22 22 ls -al … … 29 29 ssh-copy-id remote_username@server_ip_address 30 30 }}} 31 or with manual ssh with31 or with manual ssh with 32 32 {{{ 33 33 cat ~/.ssh/id_rsa.pub | ssh remote_username@server_ip_address "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"