Skip to content

Commit 1974dfc

Browse files
committed
Add sample IdentityAgent configuration for Bitwarden.
1 parent b2c456c commit 1974dfc

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

tutorials/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ iam
1010
vault_localdisk
1111
sftp_publickeyauth
1212
sftp_publickeyauth_1password
13+
sftp_publickeyauth_bitwarden
1314
cli_github_action
1415
:::
1516

@@ -33,5 +34,8 @@ Configure Public Key Authentication for SFTP using OpenSSH tools.
3334
### [Configure 1Password SSH Agent](sftp_publickeyauth_1password.md)
3435
Authenticate with SSH private key saved in 1Password.
3536

37+
### [Configure Bitwarden SSH Agent](sftp_publickeyauth_bitwarden.md)
38+
Authenticate with SSH private key saved in Bitwarden.
39+
3640
## [Use Cyberduck CLI GitHub Action](cli_github_action.md)
3741
Use Cyberduck CLI Docker Container in GitHub Actions
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Configure Public Key Authentication for SFTP using Bitwarden SSH Agent
2+
====
3+
4+
Public-key authentication using 1Password SSH Agent allows you to connect to a remote server without a password. Instead, public-key authentication uses two keys:
5+
- Private key managed by 1Password
6+
- Public key placed on the server usually by the system administrator
7+
8+
1. Ensure you have configured 1Password to manage your SSH keys. For more information, refer to [Bitwarden SSH Agent](https://bitwarden.com/help/ssh-agent/#configure-bitwarden-ssh-agent).
9+
2. Open the OpenSSH configuration file `~/.ssh/config` and add the following configuration specifying to use 1Password as the SSH agent:
10+
```
11+
Host *
12+
IdentitiesOnly yes
13+
# Bitwarden SSH agent
14+
IdentityAgent ~/.1password/agent.sock
15+
```
16+
This [configuration](https://docs.cyberduck.io/protocols/sftp/#openssh-configuration-interoperability) directive is supported by Cyberduck and Mountain Duck.
17+
3. In the [Bookmark](../../cyberduck/bookmarks.md) or [Connection](../../cyberduck/connection.md) panel, select *Use Public Key Authentication* and select the public key corresponding to your SSH private key saved in 1Password. Typically, it is located in the `~/.ssh` directory.
18+
19+
## References
20+
21+
* [Bitwarden SSH Agent](https://bitwarden.com/help/ssh-agent/#configure-bitwarden-ssh-agent)

0 commit comments

Comments
 (0)