Faisal Rehman’s Post

View profile for Faisal Rehman, graphic

YouTube: @DevOpsMolvi | Teaching DevOps on YT | Linux | Docker | Git | CICD | DevOps by Profession

Server Refused Our Key 🔑 [#linux #ubuntu] OR Server Refused to Connect 🖥 ❌ A really common and annoying error we often get while connecting to the #ec2 ☁ VMs or servers in our on-prem 🏦 #datacenter while we try to connect with SSH keys 🗝 🗝 . Most of the times, its because of the following 4 reasons: 1. Key Pair Format 2. Permissions [.ssh] 3. authorised_keys missing the public key 4. Ownerships of the wrong user I've tried to replicate the above errors on my VM and fixed them accordingly in our practical lab session 👨💻 here: https://lnkd.in/dsUBNTSr Whenever, you get such error in the future, remember it could be due to any of the above reasons. But if you know any other reasons/fixes for the server refused to connect problems, it'd be great sharing in the comment section 🔤 . #linux #sshkeys #authentication #errors #security #connectivity #devops #devopstraining #lab #ec2 #cloud #awsec2 #vmware #VMs #remote #connectivity #servers

To view or add a comment, sign in

Explore topics