Answer the question
In order to leave comments, you need to log in
How to connect to X11 using ssh key?
Hello. I have an ssh connection set up using the . In the config, I forbade connecting with a password. Now you need to connect to the server using X11. Everything is set up and working. But only with a password, but you need to connect with a key.
Suppose I connected to the server in this way: ssh -i /home/user/id_rsa [email protected]
When connecting to X11 with a password, I used this command: ssh -X [email protected]
But after I forbid login with a password, it says that Permission denied (publickey, gssapi-keyex, gssapi-with-mic). How to connect now?
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