summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.526
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
320over the secure channel, and the application 320over the secure channel, and the application
321protocol is then used to determine where to connect to from the 321protocol is then used to determine where to connect to from the
322remote machine. 322remote machine.
323The argument must be a port number. 323.Pp
324The argument must be
325.Sm off
326.Oo Ar bind_address : Oc Ar port .
327.Sm on
328IPv6 addresses can be specified by enclosing addresses in square brackets or
329by using an alternative syntax:
330.Oo Ar bind_address Ns / Oc Ns Ar port .
331By default, the local port is bound in accordance with the
332.Cm GatewayPorts
333setting.
334However, an explicit
335.Ar bind_address
336may be used to bind the connection to a specific address.
337The
338.Ar bind_address
339of
340.Dq localhost
341indicates that the listening port be bound for local use only, while an
342empty address or
343.Sq *
344indicates that the port should be available from all interfaces.
345.Pp
324Currently the SOCKS4 and SOCKS5 protocols are supported, and 346Currently the SOCKS4 and SOCKS5 protocols are supported, and
325.Nm ssh 347.Nm ssh
326will act as a SOCKS server. 348will act as a SOCKS server.