diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-07-15 08:43:29 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-07-15 14:20:54 -0700 |
commit | 74ca2716a88d32537b90fd2b307a0e8127978e25 (patch) | |
tree | 769e7bedbe6d71d71ebaf277bdce2edae6912d9b /cmd/podman/system/connection.go | |
parent | 9efeb1cf290509caa4b0e3c206fe72d194d76a1e (diff) | |
download | podman-74ca2716a88d32537b90fd2b307a0e8127978e25.tar.gz podman-74ca2716a88d32537b90fd2b307a0e8127978e25.tar.bz2 podman-74ca2716a88d32537b90fd2b307a0e8127978e25.zip |
Fix `podman system connection` panic
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/system/connection.go')
-rw-r--r-- | cmd/podman/system/connection.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/system/connection.go b/cmd/podman/system/connection.go index 6a55d2d79..9f26a0df6 100644 --- a/cmd/podman/system/connection.go +++ b/cmd/podman/system/connection.go @@ -60,7 +60,8 @@ func init() { }) flags := connectionCmd.Flags() - flags.IntVarP(&cOpts.Port, "port", "p", 22, "port number for destination") + flags.IntVarP(&cOpts.Port, "port", "p", 22, "SSH port number for destination") + flags.StringVar(&cOpts.Identity, "identity", "", "path to SSH identity file") flags.StringVar(&cOpts.UDSPath, "socket-path", "", "path to podman socket on remote host. (default '/run/podman/podman.sock' or '/run/user/{uid}/podman/podman.sock)") } |