Advanced SSH Agent Uses
This document provides guides to use Bitwarden SSH agent for advance use cases. To learn more about the Bitwarden SSH agent, or get started with the Bitwarden SSH agent, see the SSH Agent document.
SSH connect to servers and virtual machines with SSH keys securely stored in Bitwarden.
To begin, make sure the SSH agent has been enabled on your Bitwarden desktop app by navigating to Settings and Enable SSH agent:
Create a new SSH key or import and existing SSH key to your Bitwarden desktop app.
You may now connect to your server using SSH connection. The SSH agent will retrieve the key from the SSH agent rather than a stored file path:
Bashssh username@server-ip
Bitwarden will prompt you to approve the SSH key access. This will show that the SSH key has been requested and used to complete the file transfer.
SSH agent forwarding is a common way to access and move files between servers. SSH keys are commonly utilized to perform secure file transfers using this method.
To begin, make sure the SSH agent has been enabled on your Bitwarden desktop app by navigating to Settings and Enable SSH agent:
Create a new SSH key or import and existing SSH key to your Bitwarden desktop app.
Activate agent forwarding by opening a connection with the server you wish to send files to:
Bashssh -A <IP.ADDRESS>
Send a file to the server:
Bashrsync -avzP ./TEST.txt <USER>@<IP>ADDRESS>:/home/<USER>/test.txt
Bitwarden will prompt you to approve the SSH key access. This will show that the SSH key has been requested and used to complete the file transfer.
Suggest changes to this page
How can we improve this page for you?
For technical, billing, and product questions, please contact support