Dec 26, 2010
•
1 min read
Socket proxy with ssh
ssh -D 7200 root@hostname
2 posts
ssh -D 7200 root@hostname
cat /etc/ssh/sshd_configSubsystem sftp internal-sftpMatch group sftponlyChrootDirectory /chrootX11Forwarding noAllowTcpForwarding noForceCommand internal-sftpcat /etc/passwdtestuser:x:500:504::/:/bin/bashsftponly:x:504:testuser