aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2018-12-05 17:10:07 +0000
committerGitHub <noreply@github.com>2018-12-05 17:10:07 +0000
commita68fa27309f98e1d14dfe563a48fbc6e3b24f331 (patch)
tree1a39240d6eea12b0f859f62039d715f4c69d6a78 /README.md
parentMerge pull request #78 from BriceGagnageRenault/master (diff)
parentAgent Forwarding (diff)
downloadYubiKey-Guide-a68fa27309f98e1d14dfe563a48fbc6e3b24f331.tar.gz
Merge pull request #79 from Wheest/master
Agent Forwarding
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1b3c310..82b4793 100644
--- a/README.md
+++ b/README.md
@@ -1457,6 +1457,25 @@ StreamLocalBindUnlink yes
**Note**: you can chain the agent forwarding through multiple hosts, you just have to follow the same [protocol](#remote-host-configuration) to configure each host.
+# Remote Machines (agent forwarding)
+
+If you want to use your Yubikey to sign a git commit on a remote machine, or ssh through another layer, then this is possible using "Agent Forwarding". Assuming that you have your Yubikey setup on your host machine.
+
+To forward your agent, ssh using the `-a` flag
+
+```
+ssh -A user@remote
+```
+
+Or add the following to your ssh config file:
+
+```
+Host remote
+ ForwardAgent yes
+```
+
+You should then be able to use your Yubikey as if it were connected to the remote machine.
+
# Troubleshooting
- If you don't understand some option - read `man gpg`.