SSH FAQ
tunning only user
配置限制
Match User tunning
AllowTcpForwarding yes
X11Forwarding no
AllowAgentForwarding no
ForceCommand /bin/false
用户限制
useradd sshtunnel -m -d /home/sshtunnel -s /bin/true
authorized_keys
from="192.168.1.10",command="/usr/bin/ls" ssh-rsa XXX
sshuttle user
key_load_public: No such file or directory
找不到 ~/.ssh/id_rsa.pub
,不影响使用
channel 0: open failed: administratively prohibited: open failed - stdio forwarding failed
不允许 PortForward,需要开启
Match User admin
AllowTcpForwarding yes