We are currently moving the documentation to a new platform. Please visit Trezor Wiki for the latest version of this page.
Thanks to the great work by Roman Zeyde TREZOR firmware version 1.3.4 and higher supports NIST P-256 elliptic curve. This addition does not affect Bitcoin at all, but it means you can now use TREZOR for SSH login to your servers which support it (OpenSSH 5.7 or newer is needed).
What is OpenSSH?¶
OpenSSH is the premier connectivity tool for remote login with the SSH protocol. It encrypts all traffic to eliminate eavesdropping, connection hijacking, and other attacks. In addition, OpenSSH provides a large suite of secure tunneling capabilities, several authentication methods, and sophisticated configuration options.
Thanks to TREZOR SSH Agent administrators can now install this OpenSSH compatible agent easily and enjoy passwordless and secure authentication to their servers.
TREZOR User Manual¶
Setting up TREZOR SSH Agent¶
In order to use this exciting feature upgrade your TREZOR firmware and follow these steps:
install trezor agent on your client machine:
$ sudo pip install trezor_agent
generate public key using trezor-agent (enter scrambled PIN like you would in TREZOR Wallet)
$ trezor-agent email@example.com
log in to your server as usual and copy the row containing the ecdsa magic from the previous step into ~/.ssh/authorized_keys file on your server
from now on you can log in to your server using trezor using the following command:
$ trezor-agent -c firstname.lastname@example.org
..note:: #1: The generated keys depend on the email@example.com parameter, so no two servers/users share the same key.
..note:: #2: This method can also be used for git push or other mechanisms that are using SSH as their communication protocol:
$ trezor-agent firstname.lastname@example.org git push