🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sshd_config Help

#297954
From: Anonymous
Date: Mon, 12 Mar 2018 22:19
39 lines
2450 bytes
Anonymous formulated the question :
> 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.
>
> 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:
>
> sudo /etc/init.d/ssh restart
>
> Do I enable all the options above and then delete my RSA keys from 
> authorized_keys or is there something else that I'm missing?
>
> Please note this is how I had things set before I attempted to use 
> ed25519 keys:
>
> # 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

  Another thing to try.  In Putty, go to Connection/SSH/Host keys/ and 
click on Ed25519.  Then click the Up button until Ed25519 is at the top 
of the list.
Technical Details
Message-ID: <p86udk$lh4$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>

Show Full Headers
Complete Article Headers
Message-ID: <p86udk$lh4$1@news.mixmin.net>
Subject: Re: sshd_config Help
Date: Mon, 12 Mar 2018 17:19:24 -0500
From: Anonymous <anonymous@anonymous.com>
References: <e27e74b2a81ba28c491b2fcf4b5adb55@foto.nl1.torservers.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
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 22:19:33 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="eba78e340cda6b75f607f81026e81b37aec4efbe";
X-Newsreader: MesNews/1.08.06.00-gb
Lines: 38