🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

sshd_config Help

#297947
From: Anonymous
Date: Mon, 12 Mar 2018 17:45
36 lines
2067 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

Technical Details
Message-ID: <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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <e27e74b2a81ba28c491b2fcf4b5adb55@foto.nl1.torservers.net>
Subject: sshd_config Help
Date: Mon, 12 Mar 2018 17:45:03 +0000
From: Anonymous <anonymous@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!not-for-mail
Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at <abuse@foto.nl1.torservers.net>.
Newsgroups: alt.privacy.anon-server
X-Received-Bytes: 2049
X-Received-Body-Crc: 3406776736