github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/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   - unix://path
    14   - tcp://hostname:port
    15  
    16  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.
    17  
    18  ## OPTIONS
    19  
    20  #### **--default**=*false*, **-d**
    21  
    22  Make the new destination the default for this user.
    23  
    24  #### **--identity**=*path*
    25  
    26  Path to ssh identity file. If the identity file has been encrypted, Podman prompts the user for the passphrase.
    27  If no identity file is provided and no user is given, Podman defaults to the user running the podman command.
    28  Podman prompts for the login password on the remote server.
    29  
    30  #### **--port**=*port*, **-p**
    31  
    32  Port for ssh destination. The default value is `22`.
    33  
    34  #### **--socket-path**=*path*
    35  
    36  Path to the Podman service unix domain socket on the ssh destination host
    37  
    38  ## EXAMPLE
    39  ```
    40  $ podman system connection add QA podman.example.com
    41  
    42  $ podman system connection add --identity ~/.ssh/dev_rsa production ssh://root@server.example.com:2222
    43  
    44  $ podman system connection add testing unix:///run/podman/podman.sock
    45  
    46  $ podman system connection add debug tcp://localhost:8080
    47  ```
    48  ## SEE ALSO
    49  **[podman(1)](podman.1.md)**, **[podman-system(1)](podman-system.1.md)**, **[podman-system-connection(1)](podman-system-connection.1.md)**
    50  
    51  
    52  ## HISTORY
    53  June 2020, Originally compiled by Jhon Honce (jhonce at redhat dot com)