🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sshd_config Help

#297951
From: Anonymous
Date: Mon, 12 Mar 2018 21:23
128 lines
4504 bytes
On Mon, 12 Mar 2018 14:33:26 -0500, you wrote:
>
> Nomen Nescio used his keyboard to write :
> > On Mon, 12 Mar 2018 13:45:03 -0400 (EDT), you wrote:
> >>
<snip>
>   Here is my sshd_config file.  I didn't change anything in it at all.
> My /root/.ssh/authorized_keys file only contains the ed25519 key.
>
> cat sshd_config
>
> # Package generated configuration file
> # See the sshd_config(5) manpage for details
>
> # What ports, IPs and protocols we listen for
> Port 22

I use a different port number

>
> # Use these options to restrict which interfaces/protocols sshd will
> bind to
> #ListenAddress ::
> #ListenAddress 0.0.0.0
> Protocol 2
> # 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
> #Privilege Separation is turned on for security
> UsePrivilegeSeparation yes
>
> # Lifetime and size of ephemeral version 1 server key
> KeyRegenerationInterval 3600
> ServerKeyBits 1024

I have ServerKeyBits 768

>
> # Logging
> SyslogFacility AUTH
> LogLevel INFO
>
> # Authentication:
> LoginGraceTime 120

I have LoginGraceTime 30

> PermitRootLogin yes
I have PermitRootLogin no
> StrictModes yes

I have AllowUsers remoteuser1 remoteuser2

>
> RSAAuthentication yes
> PubkeyAuthentication yes
> #AuthorizedKeysFile     %h/.ssh/authorized_keys
>
> # Don't read the user's ~/.rhosts and ~/.shosts files
> IgnoreRhosts yes
> # For this to work you will also need host keys in /etc/ssh_known_hosts
> RhostsRSAAuthentication no
> # similar for protocol version 2
> HostbasedAuthentication no
> # Uncomment if you don't trust ~/.ssh/known_hosts for
> RhostsRSAAuthentication
> #IgnoreUserKnownHosts yes
>
> # To enable empty passwords, change to yes (NOT RECOMMENDED)
> PermitEmptyPasswords no
>
> # Change to yes to enable challenge-response passwords (beware issues
> with
> # some PAM modules and threads)
> ChallengeResponseAuthentication no
>
> # Change to no to disable tunnelled clear text passwords
> #PasswordAuthentication yes
>
> # Kerberos options
> #KerberosAuthentication no
> #KerberosGetAFSToken no
> #KerberosOrLocalPasswd yes
> #KerberosTicketCleanup yes
>
> # GSSAPI options
> #GSSAPIAuthentication no
> #GSSAPICleanupCredentials yes
>
> X11Forwarding yes
> X11DisplayOffset 10
> PrintMotd no
> PrintLastLog yes
> TCPKeepAlive yes
> #UseLogin no
>
> #MaxStartups 10:30:60
> #Banner /etc/issue.net
>
> # Allow client to pass locale environment variables
> AcceptEnv LANG LC_*
>
> Subsystem sftp /usr/lib/openssh/sftp-server
>
> # Set this to 'yes' to enable PAM authentication, account processing,
> # and session processing. If this is enabled, PAM authentication will
> # be allowed through the ChallengeResponseAuthentication and
> # PasswordAuthentication.  Depending on your PAM configuration,
> # PAM authentication via ChallengeResponseAuthentication may bypass
> # the setting of "PermitRootLogin yes
> # If you just want the PAM account and session checks to run without
> # PAM authentication, then enable this but set PasswordAuthentication
> # and ChallengeResponseAuthentication to 'no'.
> UsePAM yes

I have UsePAM no

>
> # Added by DigitalOcean build process
> ClientAliveInterval 120
> ClientAliveCountMax 2
>
> #PasswordAuthentication yes

If I delete my RSA Public Keys from Authorized_Keys, I cannot login 
with my ed25519 public key.
Technical Details
Message-ID: <d5e60beffcfd0c2130655e9331719dd7@hoi-polloi.org>
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> <p86km9$54n$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <d5e60beffcfd0c2130655e9331719dd7@hoi-polloi.org>
Subject: Re: sshd_config Help
Date: Mon, 12 Mar 2018 22:23:18 +0100
From: Anonymous <anonymous@hoi-polloi.org>
References: <e27e74b2a81ba28c491b2fcf4b5adb55@foto.nl1.torservers.net> <24840fb0d81df41390f46810f1fa1c8f@dizum.com> <p86km9$54n$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
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@hoi-polloi.org>.
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; posting-host=mail2news.mixmin.net;
 mail-complaints-to=abuse@mixmin.net
Lines: 128