Strategien zum Schutz Ihrer SSH-Schlüssel bei Laptop-Diebstahl

474
user27449

Gibt es ein cooles Tool, das Ihre SSH-Schlüssel verschlüsselt und sperrt, wenn Sie den Computer herunterfahren oder in den Ruhezustand versetzen?

Falls also jemand Ihren Laptop stiehlt, kann er nicht auf Ihre Server gelangen usw.?

1
SSH-Schlüssel ** ohne ** eine Passphrase? Hennes vor 11 Jahren 2
Wie wäre es, wenn Sie die Lebensdauer Ihrer Schlüssel im SSH-Agenten auf 0 setzen? l1zard vor 11 Jahren 0
Welches Betriebssystem ist das? Sowohl für Linux als auch für Windows / cygwin zeigt mein .ssh-Verzeichnis auf ein anderes Verzeichnis in einem verschlüsselten Image / Volume. ott-- vor 11 Jahren 0
Mac OSX (aktuell) user27449 vor 11 Jahren 0

1 Antwort auf die Frage

0
l1zard

If you are on *nix

The ssh agent is controled by the user using the command ssh-add The agent asks the user for password and manages how long a socket stays open and where the keys gets stored using $SSH_AUTH_SOCK variable

You can for example lock the agent with

ssh-add -x 

maybe you can execute this commands before the computer shutdown or sleep and unlock the agent with

 ssh-add -X 

an other way would be to set the lifetime of keys used by the agent to limited time like this:

ssh-add -t seconds