🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sshd_config Help

#297952
From: Fritz Wuehler
Date: Mon, 12 Mar 2018 22:04
48 lines
2628 bytes
> 
> 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

  My sshd_config file has this:

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

  So put the 'HostKey /etc/ssh/ssh_host_ed25519_key' in there.

  Also, I did not delimiter out the other HostKey parameters.  You are not going to be able to make a connection if an RSA key is not present.  However, it shouldn't be a problem to delimiter all other HostKey parameters.

  Once your ed25519 is working, remove the RSA and DSA keys.
Technical Details
Message-ID: <afcfd3351d571b63d6b90ed300ac9b6c@msgid.frell.theremailer.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: <afcfd3351d571b63d6b90ed300ac9b6c@msgid.frell.theremailer.net>
Subject: Re: sshd_config Help
Date: Mon, 12 Mar 2018 22:04:10 +0000
From: Fritz Wuehler <fritz@spamexpire-201803.rodent.frell.theremailer.net>
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: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 48