guys as soon as i did .ssh firstname.lastname@example.org -L8888:localhost:8888
i got this in return
ssh: connect to host xx.xx.xx.xxx port 22: Resource temporarily unavailable
could anyone help me in figuring out where actually the problem is
Hey Naveen … Are you using some shared LAN like in a University … ? It does happen that when LAN is used the ssh request bounces many times and then timeout occurs. However if you use wifi instead it gets connected instantly. So you can do one thing … Just use your mobile wifi for connecting to AWS and then continue using it with ur LAN . It then works smoothly.
please @ecdrid and @Vishucyrus correct me if i’m wrong
ssh-keygen -t rsa
after getting those keys i should moved it to my hard drive
using this command
cp .ssh/id_rsa.pub /mnt/c/Users/ADMIN/Documents/
then share this key to AWS through import key option .
if this method of mine is correct .could you please tell me how to create a .pem file
In the lecture Jeremy only used ssh-keygen … (without -t rsa)
I don’t know about creating a .pem file… But I guess you want this to use with putty… If so then you don’t need to create .pem file. You can follow these steps…
cp .ssh/id_rsa /mnt/c/Users/ADMIN/Documents/
Open PuTTYgen app and load id_rsa
Click “Save private key” with the name id_rsa.ppk
Use this to connect to your AWS instance with puTTY .
Note - I tried to do this with puTTY but got the same result until I changed my Internet Source.