We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8de3939 commit ed5b0f0Copy full SHA for ed5b0f0
README.md
@@ -13,6 +13,13 @@ Docker image to run remote commands via SSH.
13
### Known hosts
14
15
To add your host to the known hosts of the SSH agent, simply add the content to the environment variable `$SSH_KNOWN_HOSTS`.
16
+To get the the public key for your host, you can use `ssh-keyscan`
17
+
18
+```
19
+$ ssh-keyscan -p <port> <ip-or-hostname>
20
21
22
+Put the output of the command into the `$SSH_KNOWN_HOSTS` environment variable.
23
24
### SSH Private Key
25
0 commit comments