Changes between Version 8 and Version 9 of SSHKEYGEN
- Timestamp:
- 05/26/21 02:45:15 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SSHKEYGEN
v8 v9 2 2 3 3 4 *1. Create ssh key at localhost [[br]]4 1. Create ssh key at localhost [[br]] 5 5 6 {{{7 ssh-keygen -t rsa -b 4096 -C user@remotehost.com8 }}}6 {{{ 7 ssh-keygen -t rsa -b 4096 -C user@remotehost.com 8 }}} 9 9 10 10 Then they will ask to enter default .ssh path … … 24 24 }}} 25 25 26 *2. In your local host copy public key (id_rsa.pub) to remote host26 2. In your local host copy public key (id_rsa.pub) to remote host 27 27 28 {{{29 ssh-copy-id remote_username@server_ip_address30 }}}28 {{{ 29 ssh-copy-id remote_username@server_ip_address 30 }}} 31 31 or with manual ssh with 32 {{{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"34 }}}32 {{{ 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" 34 }}} 35 35 36 36 * 3. Now you can ssh with out prompt for password