ssh -D 9090 user@host
quando tento solicitar páginas da web através do socks5 (127.0.0.1:9090) recebo:
channel 3: open failed: administratively prohibited: open failed
servidor sshd_config:
#MaxStartups 10:30:100
PermitTunnel yes
#ChrootDirectory none
#VersionAddendum none
# no default banner path
#Banner none
# Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
AllowTcpForwarding yes
PermitTTY yes
# ForceCommand cvs server
# PermitTunnel yes
GatewayPorts yes
o que eu sinto falta?
Tags ssh tcp ssh-tunnel centos7 socks