🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Failed SSH Logins - Resolved Finally

#268953
From: Red John
Date: Fri, 11 Jul 2014 01:06
28 lines
2088 bytes
On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM,
John Kennerson wrote:> <snip>
> I am now going to create a new key for a second user and get
> this configured. I will then turn off PAM authentication in
> /etc/sshd_config and confirm that I cannot log in using my user
> password. I already have root ssh login turned off.
>
> Thanks for providing the tip to copy the contents of the public
> key right out of PuTTygen window.
>
> Here's the output from my auth.log file for this login attempt:
>
> Jul 10 14:00:58 redjohn sshd[3314]: Accepted publickey for mix
> from xx.xx.xx.xx
>                              port 55726 ssh2
> Jul 10 14:00:58 redjohn sshd[3314]: pam_unix(sshd:session):
> session opened for u
>                                 ser mix by (uid=0)
>

I have configured two users with key pair authentication and
have turned off password authentication by enabling the settings
below. So life is good. Thanks to all for your assistance.

ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
Technical Details
Message-ID: <20140711010649.DA237EAB21@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!xlned.com!feeder7.xlned.com!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mail
References: <slrnlrtpdp.a1l.admin@snorky.mixmin.net> <fdc592689c297f832c6076ab72a773eb@isis.cpunk.us> <20140710213002.339ABEAB12@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20140711010649.DA237EAB21@snorky.mixmin.net>
Subject: Re: Failed SSH Logins - Resolved Finally
Date: Fri, 11 Jul 2014 01:06:49 +0000
From: Red John <redjohn@nym.mixmin.net>
References: <slrnlrtpdp.a1l.admin@snorky.mixmin.net> <fdc592689c297f832c6076ab72a773eb@isis.cpunk.us> <20140710213002.339ABEAB12@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!xlned.com!feeder7.xlned.com!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Lines: 29
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Received-Bytes: 1586
X-Received-Body-CRC: 264175916