Skip to content
Advertisement

Tag: amazon-lightsail

Not able to connect to AWS server using linux terminal after a reboot with “sudo service sshd restart”. Getting “Connection timed out” error

I was trying to edit the sshd_config file and in between that my machine crashed. When I tried again it started showing the below message- I deleted the .swp file but it looks like the original file got deleted. After that I ran this command “sudo service sshd restart “. Now I am not able to connect to the AWS

Unable to ssh to remote server

I’m trying to log in to a particular user on my lightsail account via ssh but I get a permission denied (public key) error Here are the steps I followed(I am on git bash on windows 8) ssh into my lightsail account via the .pem key provided via aws ssh -i <key.pem> ubuntu@<public_ip_address> (I am now logged in to my

Advertisement