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
linux/sshd.txt · Last modified: 2020/01/17 00:51 by Jan Forman