Article View: alt.privacy.anon-server
Article #268942Re: Failed SSH Logins
From: Red John
Date: Thu, 10 Jul 2014 18:42
Date: Thu, 10 Jul 2014 18:42
37 lines
2653 bytes
2653 bytes
On 7/10/2014 12:32 AM, elvis-85503@notatla.org.uk wrote:>> created authorized_keys in that directory and copied the public >> key to that file. >> >> I pointed my private key within Putty to file on my laptop. I >> then tried to login to my VPS and got this error message: >> >> Server refused our key >> >> It then allows me to login in with my password. I don't know >> what my next steps should be. > > Have you got the authorized_keys file in OpenSSH format > and the private key in PuTTY format? > > Check owners/modes on the server. Check logs on the server. > http://www.snailbook.com/faq/publickey-userauth.auto.html > http://www.snailbook.com/faq/general-debugging.auto.html > elvis, I created both keys using PuTTygen. I copied my public key to the VPS server's authorized_keys file in /home/mix/.ssh/authorized_keys. I then pointed Putty to my Private key which resides on my Laptop. I then tried to login to my VPS via Putty from my Laptop and received the server error message. One thing I've come across in researching this, do I have to rename my authorized_keys file to authorized_keys2 ? Also when I copied my public key from Notepad to Nano even though the contents were copied on one line in Notepad, it was pasted into Nano on multiple lines. I carefully got rid of the line breaks in Nano without deleting any of the public key's contents until everything was on one line. I then saved the file. Was this necessary?
Technical Details
Message-ID:
<20140710184214.3D672EAB1F@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!lightspeed!lightspeed.eweka.nl!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mailReferences:
<20140708230811.7FE79EAC24@snorky.mixmin.net> <20140710024009.A92F3EAB23@snorky.mixmin.net> <7qvrr9pkvhb7fiq8bod5stqtprf9tl7os1@news.stray.cat.edu> <20140710070932.2B090EAB28@snorky.mixmin.net> <slrnlrsgd0.3jq.elvis-85503@notatla.org.uk>Show Full Headers
Complete Article Headers
Message-ID: <20140710184214.3D672EAB1F@snorky.mixmin.net> Subject: Re: Failed SSH Logins Date: Thu, 10 Jul 2014 18:42:14 +0000 From: Red John <redjohn@nym.mixmin.net> References: <20140708230811.7FE79EAC24@snorky.mixmin.net> <20140710024009.A92F3EAB23@snorky.mixmin.net> <7qvrr9pkvhb7fiq8bod5stqtprf9tl7os1@news.stray.cat.edu> <20140710070932.2B090EAB28@snorky.mixmin.net> <slrnlrsgd0.3jq.elvis-85503@notatla.org.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!lightspeed!lightspeed.eweka.nl!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mail Newsgroups: alt.privacy.anon-server Lines: 38 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net X-Received-Body-CRC: 826523660 X-Received-Bytes: 2269