Mercurial > hg > Blog
diff content/Linux/sshfs_with_key.md @ 98:1d9382b0329b
Specify the syntax on markdown blocks to avoid broken output that has class=err
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 19 Dec 2019 10:04:33 +0100 |
parents | af7de87037e7 |
children |
line wrap: on
line diff
--- a/content/Linux/sshfs_with_key.md Thu Dec 19 09:31:57 2019 +0100 +++ b/content/Linux/sshfs_with_key.md Thu Dec 19 10:04:33 2019 +0100 @@ -10,6 +10,7 @@ Long story short: To mount via sshfs using an existing ssh key, use + :::shell sshfs -o IdentityFile=/path/to/the/ssh/private/key host:/dir /mountpoint This approach even works with an ssh agent. Make sure that you get all prompts out of the way (i.e. asking for the key password etc) before mounting.