You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-agent/README.md

35 lines
761 B
Markdown

# Using Trezor as a hardware SSH agent
9 years ago
## Screencast demo usage
[![Demo](https://asciinema.org/a/22959.png)](https://asciinema.org/a/22959)
9 years ago
## Installation
First, make sure that the latest `trezorlib` Python package
is installed correctly:
$ pip install Cython trezor
Then, install the latest `trezor_agent` package:
9 years ago
$ pip install trezor_agent
## Public key generation
Run:
$ trezor-agent ssh.hostname.com -v > hostname.pub
Append `hostname.pub` contents to `~/.ssh/authorized_keys`
configuration file at `ssh.hostname.com`, so the remote server
would allow you to login using the corresponding private key signature.
## Usage
Run:
$ trezor-agent ssh.hostname.com -v -c
Make sure to confirm SSH signature on the Trezor device when requested.