V
V
v1t3man2019-12-26 14:43:46
SSH
v1t3man, 2019-12-26 14:43:46

How to properly set up an ssh connection so that the id_rsa key does not fly off when the system is turned off?

Good afternoon, comrades.
With each new session, you must execute the command ssh-add ~/.ssh/id_rsaand enter the phrase, but this key is stored only during the current session.
This is necessary to connect without a password on a remote server.

Is there an option to save the key for a long time or script the scoring of the phrase while maintaining security?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question