2

I have installed ASL and it recommends me that I implement a two way SSH authentication. I have some questions about it.

I understand the general idea that you need to login with both a key and a password.

I am working from a laptop, what will happen if my laptop get's stolen. Will I never be able to login again??

2 Answers 2

3

Two-factor authentication works by allowing access based on two authentication methods. From a remote system point of view, SSH key files are really only one factor, because the remote system cannot know for certain that a password was used to decrypt the private SSH keyfile.

I recommend you keep a copy of your encrypted private SSH keyfile somewhere safe, like on an SD card at a friends house - on in a bank vault. If you lose your private SSH key, you will need to contact the administrator of the system and supply him with a new public SSH key based on your new private SSH key.

Account recovery of this sort often becomes the biggest security hole. How does the administrator know that you're you, if you don't have you original private SSH key? He would need to know your voice or face or have some other means of verifying your identity.

1

A quick google search yielded this article: http://www.linuxjournal.com/article/8957

Hopefully, it describes it better. It also gives a tutorial on setting up two-factor auth with SSH.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .