github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-system-connection-add.1.md (about)

     1  % podman-system-connection-add(1)
     2  
     3  ## NAME
     4  podman\-system\-connection\-add - Record destination for the Podman service
     5  
     6  ## SYNOPSIS
     7  **podman system connection add** [*options*] *name* *destination*
     8  
     9  ## DESCRIPTION
    10  Record ssh destination for remote podman service(s). The ssh destination is given as one of:
    11   - [user@]hostname[:port]
    12   - ssh://[user@]hostname[:port]
    13  
    14  The user will be prompted for the remote ssh login password or key file pass phrase as required. The `ssh-agent` is supported if it is running.
    15  
    16  ## OPTIONS
    17  
    18  #### **--default**=*false*, **-d**
    19  
    20  Make the new destination the default for this user.
    21  
    22  #### **--identity**=*path*
    23  
    24  Path to ssh identity file. If the identity file has been encrypted, Podman prompts the user for the passphrase.
    25  If no identity file is provided and no user is given, Podman defaults to the user running the podman command.
    26  Podman prompts for the login password on the remote server.
    27  
    28  #### **--port**=*port*, **-p**
    29  
    30  Port for ssh destination. The default value is `22`.
    31  
    32  #### **--socket-path**=*path*
    33  
    34  Path to the Podman service unix domain socket on the ssh destination host
    35  
    36  ## EXAMPLE
    37  ```
    38  $ podman system connection add QA podman.example.com
    39  
    40  $ podman system connection add --identity ~/.ssh/dev_rsa production ssh://root@server.example.com:2222
    41  ```
    42  ## SEE ALSO
    43  podman-system(1) , podman-system-connection(1) , containers.conf(5)
    44  
    45  ## HISTORY
    46  June 2020, Originally compiled by Jhon Honce (jhonce at redhat dot com)