🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #268947

Re: Failed SSH Logins

#268947
From: Red John
Date: Thu, 10 Jul 2014 19:55
48 lines
3267 bytes
On 7/10/2014 12:12 PM, Zax wrote:
> On Thu, 10 Jul 2014 19:42:14 +0100 (BST), Red John wrote in
> Message-Id: <20140710184214.3D672EAB1F@snorky.mixmin.net>:
>
>> 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.
>
> Check the permissions on this file and the directory.  They need to be
> read/write for only the owner.  SSH is very strict about this.
>
> chmod 700 ~/.ssh
> chmod 600 ~/.ssh/authorized_keys

Done
>
>> 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 ?
>
> In your Putty config, under Connection > Data, insert the Auto-login
> Username.  Sounds like you've already done the Connection > SSH > Auth
> and told it where to find the key file.
>
>
Yes I did this already.

>> 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?
> It was necessary.  SSH expects to find the key without line breaks in
> it.  Generally speaking Notepad is pretty evil when it comes to changing
> things its not been asked to change.  Wordpad is better and comes as
> standard on most Windows flavors.  Best of all for your purpose would be
> pscp which is part of Putty.  It copies files between machines without
> risk of changing them.
>

I still cannot login using key authentication. I will table this
effort for now. I'll reach out to one of the experts here and
hopefully we can do a chat session to figure out what's going on.
Technical Details
Message-ID: <20140710195523.313D2EAB33@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!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!rt.uk.eu.org!news.roellig-ltd.de!open-news-network.org!cyclone03.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
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> <20140710184214.3D672EAB1F@snorky.mixmin.net> <slrnlrtpdp.a1l.admin@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20140710195523.313D2EAB33@snorky.mixmin.net>
Subject: Re: Failed SSH Logins
Date: Thu, 10 Jul 2014 19:55:23 +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> <20140710184214.3D672EAB1F@snorky.mixmin.net> <slrnlrtpdp.a1l.admin@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!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!rt.uk.eu.org!news.roellig-ltd.de!open-news-network.org!cyclone03.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: 49
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Received-Body-CRC: 89012258
X-Received-Bytes: 2799