podman-sys...ection-add(1)
π podman-system-connection-add(1) π
okay bestie, so this page lives in the General Commands Manual, and it's literally called podman-system-connection-add β say that five times fast, i can't π
β¨ NAME β¨
podman-system-connection-add β record a destination for the Podman service π
β¨ SYNOPSIS β¨
podman system connection add [options] name destination
β¨ DESCRIPTION β¨
okay so real talk: this command records an ssh destination for remote podman service(s). it's giving "save this spot so i can get back to it later" energy. π
the ssh destination you hand over has to be one of these four shapes, no cap:
[user@]hostname[:port]ssh://[user@]hostname[:port]unix://pathtcp://hostname:port
then, like, the user gets prompted for the remote ssh login password or the key file passphrase, whichever it needs at that moment. and yes, ssh-agent is supported if it's running. if it's not running, it can't help you, bestie, it's simply not invited to the party π
β¨ OPTIONS β¨
--default,-dβ makes the new destination the default for this user. the default isfalse. so like, by default it's not the default, which is a whole mood. β¨--identity=pathβ path to the ssh identity file. if that identity file is encrypted, Podman prompts the user for the passphrase. if no identity file is provided and no user is given, Podman defaults to the user running thepodmancommand. Podman prompts for the login password on the remote server. π«Ά--port,-p=portβ port for the ssh destination. the default value is22. π--socket-path=pathβ path to the Podman service unix domain socket on the ssh destination host. π¦--tls-ca=pathβ path to a PEM file containing the certificate authority bundle, used to verify the server's certificate against. πΈ--tls-cert=pathβ path to a PEM file containing the TLS client certificate to present to the server.--tls-keymust also be provided. they're a package deal, fr fr π--tls-key=pathβ path to a PEM file containing the private key matching--tls-cert.--tls-certmust also be provided. same deal, other direction, iconic π
β¨ EXAMPLE β¨
add a named system connection:
$ podman system connection add QA podman.example.com
add a system connection using SSH data:
$ podman system connection add --identity ~/.ssh/dev_rsa production ssh://root@server.example.com:2222
add a named system connection to a local Unix domain socket:
$ podman system connection add testing unix:///run/podman/podman.sock
add a named system connection to a local tcp socket:
$ podman system connection add debug tcp://localhost:8080
add a connection with a custom port:
$ podman system connection add --port 2222 staging user@staging.example.com
add a connection with a custom socket path:
$ podman system connection add --socket-path /run/user/1000/podman/podman.sock remote-user user@remote.example.com
add a connection and make it the default:
$ podman system connection add --default production root@prod.example.com
add a named system connection to a remote tcp socket secured via TLS:
$ podman system connection add secure-debug --tls-cert=tls.crt --tls-key=tls.key --tls-ca=ca.crt tcp://podman.example.com:8443
β¨ SEE ALSO β¨
β¨ HISTORY β¨
June 2020, originally compiled by Jhon Honce (jhonce at redhat dot com) π
and that's the whole page, bestie!! go forth and add connections, you absolute icon π
that was podman-sys...ection-add(1) from the General Commands Manual, signing off π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms