This shows you the differences between two versions of the page.
— | linux:sshd [2020/05/31 22:26] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | // client side | ||
+ | ssh-keygen -t ecdsa -b 384 -C "Enter an optional comment about your key" | ||
+ | ssh-copy-id root@destination | ||
+ | </ | ||
+ | |||
+ | ====== / | ||
+ | < | ||
+ | RSAAuthentication yes | ||
+ | PubkeyAuthentication yes | ||
+ | AuthorizedKeysFile | ||
+ | </ | ||
+ | |||
+ | ====== Check speed ====== | ||
+ | |||
+ | < | ||
+ | time dd if=/ | ||
+ | </ | ||
+ | |||
+ | ====== Create tunnel ====== | ||
+ | |||
+ | < | ||
+ | ssh -nNT -L 9000: | ||
+ | </ | ||
+ | |||
+ | ====== Show ciphers ====== | ||
+ | < | ||
+ | ssh -Q cipher | ||
+ | </ | ||
+ | |||
+ | -oCiphers=chacha20-poly1305@openssh.com | ||