Skip to content

Instantly share code, notes, and snippets.

@danpal
Created August 28, 2012 17:20
Show Gist options
  • Save danpal/3501030 to your computer and use it in GitHub Desktop.
Save danpal/3501030 to your computer and use it in GitHub Desktop.
Installing authy-ssh
Installation.
Type the following command in the terminal:
$ curl 'https://raw.github.com/authy/authy-ssh/master/authy-ssh' -o authy-ssh
$ sudo bash authy-ssh install /usr/local/bin
Then enable two-factor for your user:
$ sudo /usr/local/bin/authy-ssh enable `whoami` <your-email> <your-country-code> <your-cellphone>
Test everything is working:
$ authy-ssh test
Restart your SSH server (look below if you are not on Ubuntu).
$ sudo service ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment