Created
February 27, 2024 21:30
-
-
Save mshannaq/9d17d5a94997318d967739ebc46f5a44 to your computer and use it in GitHub Desktop.
create ssh key to access linux servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to create ssh key to access linux servers using key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on your computer to create ssh key run
change
[email protected]
to your email andmy_custom_key
to the key namethen choose Passphrase
aftetr that you can copy the public key into the linux server that you want to access using that key by running the command on your computer
change
samextendy_key.pub
with the public ket file name , and change8888
to the correct linux server ssh port , and changeserverhostname
with the correct hostname of your linux server.after that to connect to the server using the key use the commmand
and then you will be able to connect using ssh