User Tools

Site Tools


linux:sshd
no way to compare when less than two revisions

Differences

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:
 +<code>
 +// client side
 +ssh-keygen -t ecdsa -b 384 -C "Enter an optional comment about your key"
 +ssh-copy-id root@destination
 +</code>
 +
 +====== /etc/ssh/sshd_config ======
 +<code>
 +RSAAuthentication yes
 +PubkeyAuthentication yes
 +AuthorizedKeysFile  %h/.ssh/authorized_keys
 +</code>
 +
 +====== Check speed ======
 +
 +<code>
 +time dd if=/dev/zero bs=10240 count=409600 | ssh -p 2222 root@192.168.22.58 'cat > /dev/null'
 +</code>
 +
 +====== Create tunnel ======
 +
 +<code>
 +ssh -nNT -L 9000:imgur.com:80 user@example.com
 +</code>
 +
 +====== Show ciphers ======
 +<code>
 +ssh -Q cipher
 +</code>
 +
 +-oCiphers=chacha20-poly1305@openssh.com
  
linux/sshd.txt · Last modified: 2020/05/31 22:26 by Jan Forman