mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
12 lines
250 B
Text
12 lines
250 B
Text
|
To generate an SSH key:
|
||
|
ssh-keygen -t rsa
|
||
|
|
||
|
To generate a 4096-bit SSH key:
|
||
|
ssh-keygen -t rsa -b 4096
|
||
|
|
||
|
To copy a key to a remote host:
|
||
|
ssh-copy-id username@host
|
||
|
|
||
|
To copy a key to a remote host on a non-standard port:
|
||
|
ssh-copy-id username@host -p 2222
|