aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-10 11:42:50 -0400
committerGitHub <noreply@github.com>2022-06-10 11:42:50 -0400
commitb078aeb87c4ef0fdc17a69992d33404efb0ccc40 (patch)
treedd105c91becb0a0217f8f4e67aa80b2591f5a387 /docs
parentefc1936c7c591cb3b552246ff4687c8631456168 (diff)
parent700248bfef7bf72dccad7107ac6ee0f5a2f8ccfe (diff)
downloadpodman-b078aeb87c4ef0fdc17a69992d33404efb0ccc40.tar.gz
podman-b078aeb87c4ef0fdc17a69992d33404efb0ccc40.tar.bz2
podman-b078aeb87c4ef0fdc17a69992d33404efb0ccc40.zip
Merge pull request #14537 from m4z/patch-2
[CI:DOCS] Update remote_client.md
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/remote_client.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/tutorials/remote_client.md b/docs/tutorials/remote_client.md
index ef7160f6c..27b97e6f5 100644
--- a/docs/tutorials/remote_client.md
+++ b/docs/tutorials/remote_client.md
@@ -60,9 +60,12 @@ sudo systemctl enable --now -s sshd
#### Setting up SSH
Remote Podman uses SSH to communicate between the client and server. The remote client works considerably smoother using SSH keys. To set up your ssh connection, you need to generate an ssh key pair from your client machine. *NOTE:* in some instances, using a `rsa` key will cause connection issues, be sure to create an `ed25519` key.
```
-ssh-keygen -t ed25519
+ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
+```
+Your public key by default should be in your home directory under `~/.ssh/id_ed25519.pub`. You then need to copy the contents of `id_ed25519.pub` and append it into `~/.ssh/authorized_keys` on the Linux server. You can automate this using `ssh-copy-id`:
+```
+ssh-copy-id -i ~/.ssh/id_ed25519.pub 192.168.122.1
```
-Your public key by default should be in your home directory under ~/.ssh/id_ed25519.pub. You then need to copy the contents of id_ed25519.pub and append it into ~/.ssh/authorized_keys on the Linux server. You can automate this using ssh-copy-id.
If you do not wish to use SSH keys, you will be prompted with each Podman command for your login password.