diff options
author | baude <bbaude@redhat.com> | 2019-09-16 10:48:34 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-09-17 13:42:02 -0500 |
commit | 0d9b952aeab95c59b28bcea42f719d06363b45b5 (patch) | |
tree | fd3e5357f6051da6a6d1410bf34dc37836612d02 /docs | |
parent | 143caa98bf07eef1a4d46da2cc56603a3ef739b8 (diff) | |
download | podman-0d9b952aeab95c59b28bcea42f719d06363b45b5.tar.gz podman-0d9b952aeab95c59b28bcea42f719d06363b45b5.tar.bz2 podman-0d9b952aeab95c59b28bcea42f719d06363b45b5.zip |
support non-standard ssh port for remote-client
when using the remote client, users may need to specify a non-standard
port for ssh connections. we can do so on the command line and within
the remote-client configuration file.
Fixes: #3987
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-remote.1.md | 4 | ||||
-rw-r--r-- | docs/podman-remote.conf.5.md | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/podman-remote.1.md b/docs/podman-remote.1.md index 84042a842..04010abaf 100644 --- a/docs/podman-remote.1.md +++ b/docs/podman-remote.1.md @@ -35,6 +35,10 @@ Print usage statement Log messages above specified level: debug, info, warn, error (default), fatal or panic +**--port**=*integer* + +Use an alternative port for the ssh connections. The default port is 22 + **--remote-config-path**=*path* Alternate path for configuration file diff --git a/docs/podman-remote.conf.5.md b/docs/podman-remote.conf.5.md index 3e1cffb02..3c8a1a801 100644 --- a/docs/podman-remote.conf.5.md +++ b/docs/podman-remote.conf.5.md @@ -22,6 +22,9 @@ of the user's remote connections. Denotes whether the connection is the default connection for the user. The default connection is used when the user does not specify a destination or connection name to `podman`. +**port** = int + Use an alternative port for the ssh connections. The default port is 22. + ## EXAMPLE @@ -37,6 +40,7 @@ is designated as the default connection. [connections.host2] destination = "192.168.122.133" username = "fedora" + port = 2222 ``` ## FILES |