I have an EC2 instance that has an IPv4 filter for my IP Address only. However, I'd like a friend of mine to get access (who lives in another city). I currently maintain the IP Address filters on my management console.
I have UFW enabled (however, I limit UFW everywhere for the ssh port).
I added my friend's IP address in the AWS management console, but he's unable to access the server (we have checked all the pem files).
My questions:
So troubleshooting stuff
1: Ask your friend check is IP address again is that static or not . http://whatismyipaddress.com/
2: Ask him to test using telnet command
telnet IPADDRESSOFSERVER 22
3: Check you setting again on security group it should be like SSH open to XX.XX.XX.XX/32
this is your friend IP address
let us know above results
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.