Answer the question
In order to leave comments, you need to log in
How can I be connected remotely using ssh key, linux?
Hello. They gave me a test task on my computer. Now, to test it, they asked me to send an SSH key and username. Created 2 pairs of keys: id_rsa and id_rsa.pub. Added id_rsa.pub to authorized_keys on the server. To test everything, I created a virtual machine, copied id_rsa there. Connected to the server next. command ssh -i ~/.ssh/id_rsa [email protected] , everything works. But it's locally I connected on my computer. And how can they connect remotely via the Internet to me? Will they list my ip address too? we're not on the same network. This question confuses me.
Answer the question
In order to leave comments, you need to log in
Yes. Only they will prescribe a white address. Therefore forward the 22nd port outside.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question