Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Added section about usage with ssh config #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,28 @@ You may also completely omit the explicit library specification if you place the
`SSH_SK_PROVIDER` environment variable definition in your `.bashrc` or whatever
your shell's equivalent file is.

### Use with ssh client config file

You can specify to use windows-fido-bridge on a per-host basis in your client
ssh config file. That way you don't need any special commands to connect to the
host. In your `~/.ssh/config` file, add these lines for your host:

```
Host myserver
HostName myserver.mydomain.org
IdentityFile ~/.ssh/id_ed25519_sk
SecurityKeyProvider=/usr/local/lib/libwindowsfidobridge.so
```

Where `id_ed25519_sk` is the key stub for your private key on the security key.
Using this you can now just do

```
ssh myserver
```

and the connection to the server using your security key will work.

### Use from Windows

If you want to be able to run `ssh` from a Windows command prompt without first
Expand Down