Tuesday, November 1, 2022
HomeCyber SecurityConnecting to an EC2 occasion through SSH (and when you'll be able...

Connecting to an EC2 occasion through SSH (and when you’ll be able to’t) | by Teri Radichel | Cloud Safety | Nov, 2022


ACM.98 Utilizing our SSH key saved in Secrets and techniques Supervisor to log into an EC2 occasion

I am presuming on this put up that you're conversant in methods to log into an EC2 occasion with an SSH key. In case you are not, there are various different posts protecting that subject, together with one I wrote that explains methods to do it from a Google Chromebook. When you're utilizing a Mac you should utilize the command line to login as I'll do on this put up. When you're utilizing Home windows you should utilize the Home windows Subsystem for Linux (WSL) with the instructions on this put up or a instrument like Putty.
  • Edit the key.
  • Choose all of the textual content. Copy it.
  • Open a terminal window.
  • Navigate to the folder the place you wish to retailer the non-public key.
  • Sort this command:
vi Developer.pem
  • Paste within the contents of the textual content.
  • Secrets and techniques supervisor isn’t correctly preserving the formatting so repair it.
  • Change the permissions of the important thing file to learn solely or it gained’t work.
chmod 400 Developer.pem
ls -al
cd .ssh
Medium: Teri Radichel or E mail Record: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests providers through LinkedIn: Teri Radichel or IANS Analysis



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments