cynethat
Cadet
Cadet
  • 624 Views

Training on linux using a Windows laptop and connecting to AWS EC-2 linux server.

Hello Red Hat Community of learners.

I think the ideal way to lean linux is to have a separate laptop/desktop running linux.
Since I do not have a separate device, I use my personal/student laptop running
Windows 11. It was painful, but, I was able to resolve the .pem file permission
issue that you get when you try to run the ssh command from a Windows shell.
I followed instructions from edX Lab instructions.  However, when I tried to connect
to AWS, I received the following message at the DOS shell prompt:


WARNING: UNPROTECTED PRIVATE KEY FILE!

Permissions for '2022key.pem' are too open.

The key to my solution was understanding the linux permission 4 which is the numerical
for the Read permission.
By simulating that in the Security tab of the Windows properties tab, I was able
edit the permissions and finally get the ssh -i "xxx.pem" ec2user@xxxxxx.compute-1.
amazon.com to connect to AWS Linux server for the lab. It was a big WHEW!

Thanks.
cynethat

 

Tags (1)
1 Reply
mamin
Mission Specialist
Mission Specialist
  • 273 Views

Re: Training on linux using a Windows laptop and connecting to AWS EC-2 linux server.

AWS EC2 requires to setup an AWS account, which means you will need to provide Credit Card even if you are using free tier instances. The easiest way to learn linux on windows is to use Virtual Machines (vm). Either you can use Hyper-V or Virtualbox. 

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.