ssh
This is an old revision of the document!
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
Open Local Socks Proxy (The Plink Way)
plink <server> -N -ssh -2 -P 22 -l <username> -C -D 7070 -v -pw <password>
References:
ssh.1483597046.txt.gz · Last modified: 2017/01/05 06:17 by felixonmars