🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sshd_config Help

#297950
From: Anonymous
Date: Mon, 12 Mar 2018 19:36
42 lines
2510 bytes
Nomen Nescio submitted this idea :
> On Mon, 12 Mar 2018 13:45:03 -0400 (EDT), you wrote:
>> 
>> Please note, I have no problems logging into my server via ssh
>> using RSA public/private keys.
>> 
>> I am trying to only allow ed25519 authentication to my VSP and
>> can't seem to figure out what settings need to be disabled in my
>> sshd_config file to only allow ed25519 login. I have already
>> disabled root login priviledges and have added my ed25519 public
>> key to my authorized_keys file and have added my ed25519 private
>> key to Putty in the Auth settings. I have NOT deleted my previous
>> RSA public keys as I wanted to confirm ed25519 was working properly.
>> 
> Meant to type "VPS".
>
>> When I disable these options:
>> 
>> # HostKeys for protocol version 2
>> # HostKey /etc/ssh/ssh_host_rsa_key
>> # HostKey /etc/ssh/ssh_host_dsa_key
>> HostKey /etc/ssh/ssh_host_ecdsa_key
>> 
>> I cannot login to my server. Please note I am keeping a separate
>> ssh logged in until I get everything working properly. I am also
>> restarting sshd via this command:
>> 
> I added Hostkey /etc/ssh/ssh_host_ed25519_key to my sshd_config 

  Not sure, but Hostkey may have to be HostKey.

> file and disabled the other settings above. I restarted sshd and 
> still cannot login to my server with ed25519 authentication.
> <snip>
>
> This doesn't work:
>
> # HostKeys for protocol version 2
> # HostKey /etc/ssh/ssh_host_rsa_key
> # HostKey /etc/ssh/ssh_host_dsa_key
> # HostKey /etc/ssh/ssh_host_ecdsa_key
> Hostkey /etc/ssh/ssh_host_ed25519_key
Technical Details
Message-ID: <p86ksm$5g7$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <e27e74b2a81ba28c491b2fcf4b5adb55@foto.nl1.torservers.net> <24840fb0d81df41390f46810f1fa1c8f@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <p86ksm$5g7$1@news.mixmin.net>
Subject: Re: sshd_config Help
Date: Mon, 12 Mar 2018 14:36:49 -0500
From: Anonymous <anonymous@anonymous.com>
References: <e27e74b2a81ba28c491b2fcf4b5adb55@foto.nl1.torservers.net> <24840fb0d81df41390f46810f1fa1c8f@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Anonymous
Reply-To: anonymous@anonymous.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 12 Mar 2018 19:36:55 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="ef0dabc4090897cc0d73a8ab2199da7576c4dc92";
X-Newsreader: MesNews/1.08.06.00-gb
Lines: 41