diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 9ddb09480..2e38be950 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh_config.5,v 1.61 2005/07/08 12:53:10 jmc Exp $ | 37 | .\" $OpenBSD: ssh_config.5,v 1.62 2005/09/19 11:37:34 djm Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH_CONFIG 5 | 39 | .Dt SSH_CONFIG 5 |
40 | .Os | 40 | .Os |
@@ -320,7 +320,29 @@ Specifies that a TCP/IP port on the local machine be forwarded | |||
320 | over the secure channel, and the application | 320 | over the secure channel, and the application |
321 | protocol is then used to determine where to connect to from the | 321 | protocol is then used to determine where to connect to from the |
322 | remote machine. | 322 | remote machine. |
323 | The argument must be a port number. | 323 | .Pp |
324 | The argument must be | ||
325 | .Sm off | ||
326 | .Oo Ar bind_address : Oc Ar port . | ||
327 | .Sm on | ||
328 | IPv6 addresses can be specified by enclosing addresses in square brackets or | ||
329 | by using an alternative syntax: | ||
330 | .Oo Ar bind_address Ns / Oc Ns Ar port . | ||
331 | By default, the local port is bound in accordance with the | ||
332 | .Cm GatewayPorts | ||
333 | setting. | ||
334 | However, an explicit | ||
335 | .Ar bind_address | ||
336 | may be used to bind the connection to a specific address. | ||
337 | The | ||
338 | .Ar bind_address | ||
339 | of | ||
340 | .Dq localhost | ||
341 | indicates that the listening port be bound for local use only, while an | ||
342 | empty address or | ||
343 | .Sq * | ||
344 | indicates that the port should be available from all interfaces. | ||
345 | .Pp | ||
324 | Currently the SOCKS4 and SOCKS5 protocols are supported, and | 346 | Currently the SOCKS4 and SOCKS5 protocols are supported, and |
325 | .Nm ssh | 347 | .Nm ssh |
326 | will act as a SOCKS server. | 348 | will act as a SOCKS server. |