1. administratively prohibited: open failed

    用 SSH 打了一个洞,然后发现这个错误:

    [root@liqiang.io ~]# ssh root@8.8.8.8 -D 0.0.0.0:9999
    channel 2: open failed: administratively prohibited: open failed
    channel 3: open failed: administratively prohibited: open failed
    channel 4: open failed: administratively prohibited: open failed
    channel 5: open failed: administratively prohibited: open failed
    channel 4: open failed: administratively prohibited: open failed
    channel 5: open failed: administratively prohibited: open failed
    channel 4: open failed: administratively prohibited: open failed
    channel 5: open failed: administratively prohibited: open failed
    channel 16: open failed: administratively prohibited: open failed
    channel 17: open failed: administratively prohibited: open failed
    

    查看一下错误日志:

    [root@liqiang.io]# tailf /var/log/secure
    Jul 28 21:15:46 bwg sshd[5158]: error: connect_to driver.google.com: unknown host (Name or service not known)
    Jul 28 21:15:46 bwg sshd[5158]: error: connect_to driver.google.com: unknown host (Name or service not known)
    Jul 28 21:15:47 bwg sshd[5158]: error: connect_to driver.google.com: unknown host (Name or service not known)
    Jul 28 21:15:47 bwg sshd[5158]: error: connect_to driver.google.com: unknown host (Name or service not known)
    Jul 28 21:15:48 bwg sshd[5158]: error: connect_to driver.google.com: unknown host (Name or service not known)
    

    嗯,域名写错了。