User Tools

Site Tools


linux:sshd
// client side
ssh-keygen -t ecdsa -b 384 -C "Enter an optional comment about your key"
ssh-copy-id root@destination

/etc/ssh/sshd_config

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile  %h/.ssh/authorized_keys

Check speed

time dd if=/dev/zero bs=10240 count=409600 | ssh -p 2222 root@192.168.22.58 'cat > /dev/null'

Create tunnel

ssh -nNT -L 9000:imgur.com:80 user@example.com

Show ciphers

ssh -Q cipher

-oCiphers=chacha20-poly1305@openssh.com

linux/sshd.txt · Last modified: 2020/05/31 22:26 by Jan Forman