Answer the question
In order to leave comments, you need to log in
Constantly requires a passphrase for SSH, how to solve?
Good afternoon.
The computer has Win10, it has a subsystem ubuntu linux 18
To work in the terminal, respectively.
When connecting via ssh, it always requires you to enter a secret phrase (it doesn't matter if it's a server, git, or somewhere else).
This does not create any special problems, well, I introduced it once and for all. While the session is holding, you can work.
However, this creates huge problems when deploying and other things that work with ssh. There, the request goes once a second for each sneeze and it is not realistic to enter a phrase all the time.
Tried$ eval `ssh-agent -s`
$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/user/.ssh/id_rsa:
Identity added: /home/user/.ssh/id_rsa
(/home/user/.ssh/id_rsa_key)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question