Quantcast
Channel: SSH access denied when 'authorized_keys' file is created with Vim - Server Fault
Browsing all 4 articles
Browse latest View live

Answer by allo for SSH access denied when 'authorized_keys' file is created...

Probably you pasted it wrong.Does it start with ssh-rsa or with ssh-ed25519?Does it have a space before (it should NOT)Is upper/lower case preserved?is there a space before any comment at the end of...

View Article


Answer by chloesoe for SSH access denied when 'authorized_keys' file is...

If something like this happens, I would recommend tho check fileencryption , fileformat and bomb in ViM.Compare both files, the one you edited with nano and the one you edited with vim. Open them with...

View Article


Answer by Zeno Moson for SSH access denied when 'authorized_keys' file is...

myuser must has access to .ssh and keyfile.Check who owns them.

View Article

SSH access denied when 'authorized_keys' file is created with Vim

I created an ec2 instance with an Ubuntu 16.04 AMI. I created a sudo user for this AMI with:sudo adduser myusersudo usermod -aG sudo myuserThen I attempted to give the user ssh access with an rsa...

View Article
Browsing all 4 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>