User Tools

Site Tools


ssh

Trust host key without /dev/tty

ssh -o StrictHostKeyChecking=no <username>@<server>

SSH Tunnel

Create New Tunnel Account

adduser --shell /usr/sbin/nologin --no-create-home --ingroup sshusers <username>

You may need to run the following command at first time.

addgroup sshusers

Open Local Socks Proxy

ssh <username>@<server> -N -D 7070 -v
plink <server> -N -ssh -2 -P 22 -l <username> -C -D 7070 -v -pw <password>

References:

ssh.txt · Last modified: 2017/01/05 06:17 by felixonmars