Changes between Version 7 and Version 8 of jazz/08-04-25
- Timestamp:
- Apr 22, 2008, 11:36:48 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/08-04-25
v7 v8 103 103 * [解法] 此時就需要把 /etc/ssh/sshd_config 的 !GatewayPorts 設為 enable, 並在 ssh -R 的地方加上 bind_address 104 104 {{{ 105 #!diff 106 --- /etc/ssh/sshd_config.org 2008-04-22 23:11:40.000000000 +0800 107 +++ /etc/ssh/sshd_config 2008-04-22 23:11:56.000000000 +0800 108 @@ -30,6 +30,9 @@ 109 PermitRootLogin no 110 StrictModes yes 111 112 +# SSH Port Forwarding 113 +GatewayPorts yes 114 + 115 RSAAuthentication yes 116 PubkeyAuthentication yes 117 118 }}} 119 {{{ 105 120 GatewayPorts 106 121 Specifies whether remote hosts are allowed to connect to ports