This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
linux:network:ssh [2016/10/27 23:17] tkilla [SFTP] |
linux:network:ssh [2017/04/28 14:52] tkilla |
||
---|---|---|---|
Line 6: | Line 6: | ||
Generate a (4096 bits long) private+public -key-pair on the local machine. To generate a key without password, just press enter: | Generate a (4096 bits long) private+public -key-pair on the local machine. To generate a key without password, just press enter: | ||
+ | |||
+ | Modern ssh supports elliptical curve keys (Ed25519 keys have a fixed length): | ||
+ | ssh-keygen -t ed25519 | ||
+ | |||
+ | Old rsa key: | ||
ssh-keygen -b 4096 | ssh-keygen -b 4096 | ||
+ | |||
Find the public key in **~/ | Find the public key in **~/ |