🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
37 messages
37 total messages Started by Anonymous Mon, 12 Mar 2018 17:45
sshd_config Help
#297947
Author: 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

Re: sshd_config Help
#297948
Author: Nomen Nescio
Date: Mon, 12 Mar 2018 19:09
38 lines
2322 bytes
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 
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
Re: sshd_config Help
#297949
Author: Anonymous
Date: Mon, 12 Mar 2018 19:33
143 lines
5292 bytes
Nomen Nescio used his keyboard to write :
> 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 
> 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

  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

# 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

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

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

# Added by DigitalOcean build process
ClientAliveInterval 120
ClientAliveCountMax 2

#PasswordAuthentication yes
Re: sshd_config Help
#297950
Author: 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
Re: sshd_config Help
#297951
Author: 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.
Re: sshd_config Help
#297952
Author: 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.
Re: sshd_config Help
#297953
Author: Anonymous
Date: Mon, 12 Mar 2018 22:05
142 lines
5146 bytes
Anonymous presented the following explanation :
> 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

  So do I but I changed it here so as to not reveal it.

>
>> 
>> # 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

  Keep your RSA key in authorized_keys in the mean time so you don't 
lock yourself out and keep another connection open as you have been 
doing.  Try changing to ServerKeyBits 1024 and restart ssh.  Try to 
login ed25519.

>
>> 
>> # 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.

  Yes, don't delete it until your ed25519 is working.  Recheck you 
putty parameters and make sure that you are pointing correctly to the 
ed25519 secret key.
Re: sshd_config Help
#297954
Author: 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.
Re: sshd_config Help
#297956
Author: Nomen Nescio
Date: Tue, 13 Mar 2018 00:17
44 lines
2674 bytes
On Mon, 12 Mar 2018 17:19:24 -0500, you wrote:
>
> 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.

Can't find this option in my version of Putty. I'm using version 
0.66.
Re: sshd_config Help
#297957
Author: Anonymous
Date: Tue, 13 Mar 2018 01:13
56 lines
3310 bytes
Nomen Nescio pretended :
> On Mon, 12 Mar 2018 17:19:24 -0500, you wrote:
>> 
>> 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.
>
> Can't find this option in my version of Putty. I'm using version 
> 0.66.

  All puttys are basically he same.  Mine is 0.69.

Under the left window labeled Catagory:, expand the Connection tab by 
clicking the + to the left of 'Connection' if the tab is not expanded.  
Then do the same for the SSH tab.  You should find 'Host keys' listed 
there.  If that doesn't work, download the latest Putty and install it 
into another folder from the one you have now.  You can have many 
versions of Putty on you machine.  Then set that putty up as 
instructed.  I am sure that .66 has all od this however.
Re: sshd_config Help
#297958
Author: Nomen Nescio
Date: Tue, 13 Mar 2018 01:19
22 lines
1797 bytes
On Mon, 12 Mar 2018 22:04:10 +0000, you wrote:
>
> >
> > Please note, I have no problems logging into my server via ssh
> > using RSA public/private keys.
> >
<snip>
>   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.

I don't have host_ed25519_key file in my /etc/ssh/ directory. I 
believe this is my issue. How do I get this key generated?
Re: sshd_config Help
#297959
Author: SEC3
Date: Tue, 13 Mar 2018 01:20
37 lines
2298 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On 03/12/2018 08:17 PM, Nomen Nescio wrote:

>> 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.
> 
> Can't find this option in my version of Putty. I'm using version 
> 0.66.

It looks support for 25519 in Putty started with version 0.68.

https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html


Download the latest version (0.70) here:

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html





-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEamNOV5zcTx6euiEV3bdNhCrAP2IFAlqnJ1oACgkQ3bdNhCrA
P2K0dgf+Ohm7OTHyNd6sa269OC+5VEivYiB9XHi44XyZzj8UuMbs82p+SvTsbg4a
7GizyNKf8p7GyDSXuvW2eGdxAONY7bxVBBU9teANn50OirXbY4kFOyPiTyOaSFV/
Gup+4EipIX5skGSLRZqVOxJ13YCEUN0B19pn4QeNEG4iBkmD09UKv+3P9XaWoahc
lB5LHWUJiRiQruWBpe6LtUt36EnucQu7lgTnZX702/UMBrk9epgc/7d4FV+O4Khk
uaHj+7kjzC+eCgj/62GDm7IKvBgnMJvPskdaXyT+6hIIKYdxsUksaKGeCENngjBx
unzlJ1CFaHXjSr7qqXybO0qgaIPz/A==
=NmSz
-----END PGP SIGNATURE-----
Re: sshd_config Help
#297963
Author: Anonymous
Date: Tue, 13 Mar 2018 05:53
39 lines
2204 bytes
On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
>
> *** PGP SIGNATURE VERIFICATION ***
> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
> *** WARNING: Using untrusted key!
> *** Verified 03/12/18 21:40:50
> *** BEGIN PGP VERIFIED MESSAGE ***
>
> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
>
> >> 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.
> >
> > Can't find this option in my version of Putty. I'm using version
> > 0.66.
>
> It looks support for 25519 in Putty started with version 0.68.
>
> https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
>
>
> Download the latest version (0.70) here:
>
> https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
>
> *** END PGP VERIFIED MESSAGE ***

It looks like I'm making progress, but I'm still getting an error 
message. I downloaded 0.70 and confirmed that ed25119 is the first 
in the list to authenticate. I'm getting this error message from 
Putty:

 "C:\Users\Myname\Desktop\userid1_ed25519_private.ppk" (file format 
error)

After this fails, it loads my RSA key and I'm logged in. I have not 
disabled RSA yet.
Re: sshd_config Help
#297964
Author: Anonymous
Date: Tue, 13 Mar 2018 06:39
27 lines
1865 bytes
On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
>
> *** PGP SIGNATURE VERIFICATION ***
> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
> *** WARNING: Using untrusted key!
> *** Verified 03/12/18 21:54:09
> *** BEGIN PGP VERIFIED MESSAGE ***
>
> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
>
> >> 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.
> >
> > Can't find this option in my version of Putty. I'm using version
> > 0.66.
>
> It looks support for 25519 in Putty started with version 0.68.
>
<snip>

I do not have this file in my /etc/ssh/ directory

HostKey /etc/ssh/ssh_host_ed25519_key

How do I create it?
Re: SEEKING HELP FROM NSA OPERATIVES Re: sshd_config
#297965
Author: FuckMan
Date: Tue, 13 Mar 2018 06:54
37 lines
2154 bytes
On Tue, 13 Mar 2018 02:39:47 -0400 (EDT) Anonymous <anonymous@foto.nl1.torservers.net> said:
>
>On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
>>
>> *** PGP SIGNATURE VERIFICATION ***
>> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
>> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
>> *** WARNING: Using untrusted key!
>> *** Verified 03/12/18 21:54:09
>> *** BEGIN PGP VERIFIED MESSAGE ***
>>
>> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
>>
>> >> 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.
>> >
>> > Can't find this option in my version of Putty. I'm using version
>> > 0.66.
>>
>> It looks support for 25519 in Putty started with version 0.68.
>>
><snip>
>
>I do not have this file in my /etc/ssh/ directory
>
>HostKey /etc/ssh/ssh_host_ed25519_key
>
>How do I create it?

And _you're_ the person "protecting" people's "anonymous" privacy?

ROFL

-- 

FuckMan
Re: SEEKING HELP FROM NSA OPERATIVES Re: sshd_config
#297969
Author: Anonymous
Date: Tue, 13 Mar 2018 11:03
7 lines
1197 bytes
>
> And _you're_ the person "protecting" people's "anonymous" privacy?
>
> ROFL

at least he is trying
all we see from you is BS
Re: SEEKING HELP FROM NSA OPERATIVES Re: sshd_config
#297967
Author: Anonymous
Date: Tue, 13 Mar 2018 11:21
42 lines
1832 bytes
> 
> On Tue, 13 Mar 2018 02:39:47 -0400 (EDT) Anonymous <anonymous@foto.nl1.torservers.net> said:
> 
>>
>> On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
>>>
>>> *** PGP SIGNATURE VERIFICATION ***
>>> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
>>> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
>>> *** WARNING: Using untrusted key!
>>> *** Verified 03/12/18 21:54:09
>>> *** BEGIN PGP VERIFIED MESSAGE ***
>>>
>>> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
>>>
>>>>> 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.
>>>>
>>>> Can't find this option in my version of Putty. I'm using version
>>>> 0.66.
>>>
>>> It looks support for 25519 in Putty started with version 0.68.
>>>
>> <snip>
>>
>> I do not have this file in my /etc/ssh/ directory
>>
>> HostKey /etc/ssh/ssh_host_ed25519_key
>>
>> How do I create it
> 
> And _you're_ the person "protecting" people's "anonymous" privacy
> 
> ROFL
> 
> 
> --
> 
> FuckMan

  Perfect Author name for you.
Re: SEEKING HELP FROM NSA OPERATIVES Re: sshd_config
#297968
Author: Nomen Nescio
Date: Tue, 13 Mar 2018 11:29
40 lines
2121 bytes
In article <6c70de3825f16f3f2ca4a728960a830e@dizum.com>
FuckMan <fuckman@192.168.0.256> wrote:
>
> On Tue, 13 Mar 2018 02:39:47 -0400 (EDT) Anonymous <anonymous@foto.nl1.torservers.net> said:
> >
> >On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
> >>
> >> *** PGP SIGNATURE VERIFICATION ***
> >> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
> >> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
> >> *** WARNING: Using untrusted key!
> >> *** Verified 03/12/18 21:54:09
> >> *** BEGIN PGP VERIFIED MESSAGE ***
> >>
> >> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
> >>
> >> >> 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.
> >> >
> >> > Can't find this option in my version of Putty. I'm using version
> >> > 0.66.
> >>
> >> It looks support for 25519 in Putty started with version 0.68.
> >>
> ><snip>
> >
> >I do not have this file in my /etc/ssh/ directory
> >
> >HostKey /etc/ssh/ssh_host_ed25519_key
> >
> >How do I create it?
>
> And _you're_ the person "protecting" people's "anonymous" privacy?
>
> ROFL

Nope, Mixmaster does that.

ROTFLMFAO at dumbass FuckMan.
Re: sshd_config Help
#297972
Author: SEC3
Date: Tue, 13 Mar 2018 13:24
19 lines
1648 bytes
On 03/13/2018 02:39 AM, Anonymous wrote:

>> It looks support for 25519 in Putty started with version 0.68.
>>
> <snip>
> 
> I do not have this file in my /etc/ssh/ directory
> 
> HostKey /etc/ssh/ssh_host_ed25519_key
> 
> How do I create it?
> 

ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519



SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: sshd_config Help
#297975
Author: Fritz Wuehler
Date: Tue, 13 Mar 2018 14:22
30 lines
1617 bytes
> 
> On Mon, 12 Mar 2018 21:20:26 -0400, you wrote:
> 
>>
>> *** PGP SIGNATURE VERIFICATION ***
>> *** Signature made 03/12/18 18:20:26 using RSA key ID 2AC03F62
>> *** Good signature from "SEC3 Admin <pinger-admin@sec3.net>"
>> *** WARNING: Using untrusted key!
>> *** Verified 03/12/18 21:54:09
>> *** BEGIN PGP VERIFIED MESSAGE ***
>>
>> On 03/12/2018 08:17 PM, Nomen Nescio wrote:
>>
>>>> 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.
>>>
>>> Can't find this option in my version of Putty. I'm using version
>>> 0.66.
>>
>> It looks support for 25519 in Putty started with version 0.68.
>>
> <snip>
> 
> I do not have this file in my /etc/ssh/ directory
> 
> HostKey /etc/ssh/ssh_host_ed25519_key
> 
> How do I create it
 See Message ID : <fe7a66b18826e66801c1b4c11d5b2dd5@dizum.com>
Re: SEEKING HELP FROM NSA OPERATIVES Re: sshd_config
#297982
Author: Anonymous
Date: Tue, 13 Mar 2018 14:52
12 lines
1142 bytes
In article <p88b5i$rps$1@news.mixmin.net>
Anonymous <anonymous@anonymous.com> wrote:
>
> >
> > And _you're_ the person "protecting" people's "anonymous" privacy?
> >
> > ROFL
>
> at least he is trying
> all we see from you is BS

+1
Re: sshd_config Help
#297978
Author: Anonymous
Date: Tue, 13 Mar 2018 18:24
24 lines
1507 bytes
On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
>
> On 03/13/2018 02:39 AM, Anonymous wrote:
>
> >> It looks support for 25519 in Putty started with version 0.68.
> >>
> > <snip>
> >
> > I do not have this file in my /etc/ssh/ directory
> >
> > HostKey /etc/ssh/ssh_host_ed25519_key
> >
> > How do I create it?
> >
>
> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>
I get an error message that says:
"unknown key type ed25519"
I issued the command as root.
>
>
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
Re: sshd_config Help
#297979
Author: Jack
Date: Tue, 13 Mar 2018 18:38
30 lines
2512 bytes
On 3/13/2018 6:24 AM, SEC3 wrote:
> On 03/13/2018 02:39 AM, Anonymous wrote:
> 
>>> It looks support for 25519 in Putty started with version 0.68.
>>>
>> <snip>
>>
>> I do not have this file in my /etc/ssh/ directory
>>
>> HostKey /etc/ssh/ssh_host_ed25519_key
>>
>> How do I create it?
>>
> 
> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
> 
What is happening here? Is a private key being generated on the server
using the command above?

I ask because many users use puttygen to create their public/private key
pair. If one uses puttygen, it is my understanding that the public key
is copied to authorized_keys on the server and the Private key stays on
the remote device that you control and is never uploaded to the server.

What ed25519 key should go in /etc/ssh/ ?
> 
> 
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
> 
Re: sshd_config Help
#297980
Author: SEC3
Date: Tue, 13 Mar 2018 19:40
32 lines
2103 bytes
On 03/13/2018 02:38 PM, Jack wrote:

>> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>>
> What is happening here? Is a private key being generated on the server
> using the command above?

A keypair will be generated.

/etc/ssh/ssh_host_ed25519_key and /etc/ssh/ssh_host_ed25519_key.pub

Some background.

The ssh-keygen utility (whether it is called from within Windows/Putty
or from within Linux/OpenSSH) supports two types of certificates:

Host and User.

Host certificates (the type generated with the above command)
authenticate server hosts to users.

User certificates authenticate users to servers.


More reading:
<https://hackernoon.com/ssh-keys-a-primer-7ac8b790e849>


-- 

SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: sshd_config Help
#297981
Author: Anonymous
Date: Tue, 13 Mar 2018 20:24
26 lines
1921 bytes
On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
>
> On 03/13/2018 02:39 AM, Anonymous wrote:
>
> >> It looks support for 25519 in Putty started with version 0.68.
> >>
> > <snip>
> >
> > I do not have this file in my /etc/ssh/ directory
> >
> > HostKey /etc/ssh/ssh_host_ed25519_key
> >
> > How do I create it?
> >
>
> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>
SEC3, I think my problem is that I'm still using Wheezy which may 
not support ed25519. I don't want to go through the exercise of 
upgrading this server to the latest and greatest to utilize ed25519 
keys. Is there an update to openssh-server and the client that can 
be done on a Wheezy server to utilize the latest keys?
>
>
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
Re: sshd_config Help
#297983
Author: SEC3
Date: Tue, 13 Mar 2018 21:44
31 lines
2329 bytes
On 03/13/2018 04:24 PM, Anonymous wrote:
> On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
>>
>> On 03/13/2018 02:39 AM, Anonymous wrote:
>>
>>>> It looks support for 25519 in Putty started with version 0.68.
>>>>
>>> <snip>
>>>
>>> I do not have this file in my /etc/ssh/ directory
>>>
>>> HostKey /etc/ssh/ssh_host_ed25519_key
>>>
>>> How do I create it?
>>>
>>
>> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>>
> SEC3, I think my problem is that I'm still using Wheezy which may 
> not support ed25519. I don't want to go through the exercise of 
> upgrading this server to the latest and greatest to utilize ed25519 
> keys. Is there an update to openssh-server and the client that can 
> be done on a Wheezy server to utilize the latest keys?

Yes. Use Backports. See

<https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>


SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: sshd_config Help
#297985
Author: Anonymous
Date: Tue, 13 Mar 2018 22:19
43 lines
2616 bytes
Anonymous explained on 3/13/2018 :
> On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
>> 
>> On 03/13/2018 02:39 AM, Anonymous wrote:
>> 
>>>> It looks support for 25519 in Putty started with version 0.68.
>>>> 
>>> <snip>
>>> 
>>> I do not have this file in my /etc/ssh/ directory
>>> 
>>> HostKey /etc/ssh/ssh_host_ed25519_key
>>> 
>>> How do I create it?
>>> 
>> 
>> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>> 
> SEC3, I think my problem is that I'm still using Wheezy which may 
> not support ed25519. I don't want to go through the exercise of 
> upgrading this server to the latest and greatest to utilize ed25519 
> keys. Is there an update to openssh-server and the client that can 
> be done on a Wheezy server to utilize the latest keys?
>> 
>> 
>> SEC3 Pinger Admin
>> Contact information at <https://sec3.net>

  The easiest way for you to gen your ed25519 keys is to use
puttygen.exe that is found in the Putty folder.

Use PUTTYGEN.EXE that comes in the Putty folder.
  1. Check the EC25519 button at the bottom.
  2. Click Generate.
  3. Save public key.  Save private key.
  4. Point to the new private key in Putty.exe under
     Connection/SSH/Auth/Private key file for identification:
  5. Copy and paste the key you saved as public key into the
     /root/.ssh/authorized_keys file on the server.
  5. Login

  This is much easier that messing around with creating the keys on 
your Linux server.
Re: sshd_config Help
#297992
Author: Anonymous
Date: Tue, 13 Mar 2018 22:22
3 lines
1162 bytes
Generating a key pair on Windows

https://flyingcircus.io/doc/guide/users/ssh-keygen.html
Re: sshd_config Help
#297991
Author: Anonymous
Date: Wed, 14 Mar 2018 03:47
35 lines
2287 bytes
On Tue, 13 Mar 2018 17:44:24 -0400, you wrote:
>
> On 03/13/2018 04:24 PM, Anonymous wrote:
> > On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
> >>
> >> On 03/13/2018 02:39 AM, Anonymous wrote:
> >>
> >>>> It looks support for 25519 in Putty started with version 0.68.
> >>>>
> >>> <snip>
> >>>
> >>> I do not have this file in my /etc/ssh/ directory
> >>>
> >>> HostKey /etc/ssh/ssh_host_ed25519_key
> >>>
> >>> How do I create it?
> >>>
> >>
> >> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
> >>
> > SEC3, I think my problem is that I'm still using Wheezy which may
> > not support ed25519. I don't want to go through the exercise of
> > upgrading this server to the latest and greatest to utilize ed25519
> > keys. Is there an update to openssh-server and the client that can
> > be done on a Wheezy server to utilize the latest keys?
>
> Yes. Use Backports. See
>
> <https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>
>
SEC3 before I do the install, will I break my previous rsa keys 
that allow me to remotely login? I can't afford to lose SSH access.
>
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
Re: sshd_config Help
#297994
Author: Anonymous
Date: Wed, 14 Mar 2018 04:28
50 lines
2930 bytes
On Tue, 13 Mar 2018 17:19:48 -0500, you wrote:
>
> Anonymous explained on 3/13/2018 :
> > On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
> >>
> >> On 03/13/2018 02:39 AM, Anonymous wrote:
> >>
> >>>> It looks support for 25519 in Putty started with version 0.68.
> >>>>
> >>> <snip>
> >>>
> >>> I do not have this file in my /etc/ssh/ directory
> >>>
> >>> HostKey /etc/ssh/ssh_host_ed25519_key
> >>>
> >>> How do I create it?
> >>>
> >>
> >> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
> >>
> > SEC3, I think my problem is that I'm still using Wheezy which may
> > not support ed25519. I don't want to go through the exercise of
> > upgrading this server to the latest and greatest to utilize ed25519
> > keys. Is there an update to openssh-server and the client that can
> > be done on a Wheezy server to utilize the latest keys?
> >>
> >>
> >> SEC3 Pinger Admin
> >> Contact information at <https://sec3.net>
>
>   The easiest way for you to gen your ed25519 keys is to use
> puttygen.exe that is found in the Putty folder.
>
> Use PUTTYGEN.EXE that comes in the Putty folder.
>   1. Check the EC25519 button at the bottom.
>   2. Click Generate.
>   3. Save public key.  Save private key.
>   4. Point to the new private key in Putty.exe under
>      Connection/SSH/Auth/Private key file for identification:
>   5. Copy and paste the key you saved as public key into the
>      /root/.ssh/authorized_keys file on the server.
>   5. Login
>
>   This is much easier that messing around with creating the keys on
> your Linux server.

This is exactly what I was doing, but it appears that my version of 
Debian (Wheezy) does not have the latest version of Openssh that 
will allow ed25119 keys and I will need to use backports to upgrade 
Openssh. I'll report back after I have done the upgrade.
Re: sshd_config Help
#297995
Author: Anonymous
Date: Wed, 14 Mar 2018 11:59
55 lines
3333 bytes
Anonymous formulated on Tuesday :
> On Tue, 13 Mar 2018 17:19:48 -0500, you wrote:
>> 
>> Anonymous explained on 3/13/2018 :
>>> On Tue, 13 Mar 2018 09:24:49 -0400, you wrote:
>>>> 
>>>> On 03/13/2018 02:39 AM, Anonymous wrote:
>>>> 
>>>>>> It looks support for 25519 in Putty started with version 0.68.
>>>>>> 
>>>>> <snip>
>>>>> 
>>>>> I do not have this file in my /etc/ssh/ directory
>>>>> 
>>>>> HostKey /etc/ssh/ssh_host_ed25519_key
>>>>> 
>>>>> How do I create it?
>>>>> 
>>>> 
>>>> ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
>>>> 
>>> SEC3, I think my problem is that I'm still using Wheezy which may
>>> not support ed25519. I don't want to go through the exercise of
>>> upgrading this server to the latest and greatest to utilize ed25519
>>> keys. Is there an update to openssh-server and the client that can
>>> be done on a Wheezy server to utilize the latest keys?
>>>> 
>>>> 
>>>> SEC3 Pinger Admin
>>>> Contact information at <https://sec3.net>
>> 
>>   The easiest way for you to gen your ed25519 keys is to use
>> puttygen.exe that is found in the Putty folder.
>> 
>> Use PUTTYGEN.EXE that comes in the Putty folder.
>>   1. Check the EC25519 button at the bottom.
>>   2. Click Generate.
>>   3. Save public key.  Save private key.
>>   4. Point to the new private key in Putty.exe under
>>      Connection/SSH/Auth/Private key file for identification:
>>   5. Copy and paste the key you saved as public key into the
>>      /root/.ssh/authorized_keys file on the server.
>>   5. Login
>> 
>>   This is much easier that messing around with creating the keys on
>> your Linux server.
>
> This is exactly what I was doing, but it appears that my version of 
> Debian (Wheezy) does not have the latest version of Openssh that 
> will allow ed25119 keys and I will need to use backports to upgrade 
> Openssh. I'll report back after I have done the upgrade.

  No.  I forgot to say that the above instructions are to be carried 
out on your Windows system.  Then transfer the public key into your 
Linux authorized_keys file.
Re: sshd_config Help
#297998
Author: SEC3
Date: Wed, 14 Mar 2018 14:14
20 lines
2031 bytes
On 03/13/2018 11:47 PM, Anonymous wrote:

>> Yes. Use Backports. See
>>
>> <https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>
>>

> SEC3 before I do the install, will I break my previous rsa keys 
> that allow me to remotely login? I can't afford to lose SSH access.

Leave your system as it is if you feel unsure. There is no emergency.

But eventually I would upgrade Wheezy to Jessie. Debian has labeled
Wheezy to be "obsolete stable". Support for it ends on May 2018.


-- 

SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: sshd_config Help
#297999
Author: Anonymous
Date: Wed, 14 Mar 2018 14:23
17 lines
1771 bytes
SEC3 brought next idea :
> On 03/13/2018 11:47 PM, Anonymous wrote:
>
>>> Yes. Use Backports. See
>>> 
>>> <https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>
>>> 
>
>> SEC3 before I do the install, will I break my previous rsa keys 
>> that allow me to remotely login? I can't afford to lose SSH access.
>
> Leave your system as it is if you feel unsure. There is no emergency.
>
> But eventually I would upgrade Wheezy to Jessie. Debian has labeled
> Wheezy to be "obsolete stable". Support for it ends on May 2018.

Disagree. Jessie is systemd.
Re: sshd_config Help
#298001
Author: Anonymous
Date: Wed, 14 Mar 2018 18:35
39 lines
2883 bytes
On Wed, 14 Mar 2018 10:14:13 -0400, you wrote:
>
> On 03/13/2018 11:47 PM, Anonymous wrote:
>
> >> Yes. Use Backports. See
> >>
> >> <https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>
> >>
>
> > SEC3 before I do the install, will I break my previous rsa keys
> > that allow me to remotely login? I can't afford to lose SSH access.
>
> Leave your system as it is if you feel unsure. There is no emergency.
>
I chickened out and left my system as is. I am using my system 
primarily as my personal VPN and Syncthing server. I would hate to 
have to redo these options on a rebuild to Jessie or whatever is 
the latest version of Debian. As can be seen by my questions, I 
would consider myself an intermediate user of Debian. If I get down 
a sinkhole, I would not know how to get out on my own and would 
probably have to hire someone to get me back to where I was before 
the upgrade. I'll let this project wait for another day, when I 
have upgraded my VPS for other reasons.

I may just purchase another VPS and try things out with a new 
server and tweak things to my liking and then shutdown the old 
server. Thanks for all of your help that you provide on this forum. 
Do you have a bitcoin or monero address where I can send you a 
donation? If I were you I would include this information in your 
signature.

> But eventually I would upgrade Wheezy to Jessie. Debian has labeled
> Wheezy to be "obsolete stable". Support for it ends on May 2018.
>
>
> --
>
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
Re: sshd_config Help
#298002
Author: Anonymous
Date: Wed, 14 Mar 2018 18:43
39 lines
2910 bytes
On Wed, 14 Mar 2018 10:14:13 -0400, you wrote:
>
> On 03/13/2018 11:47 PM, Anonymous wrote:
>
> >> Yes. Use Backports. See
> >>
> >> <https://scottlinux.com/2014/01/03/install-openssh-6-x-on-debian-wheezy-from-wheezy-backports/>
> >>
>
> > SEC3 before I do the install, will I break my previous rsa keys
> > that allow me to remotely login? I can't afford to lose SSH access.
>
> Leave your system as it is if you feel unsure. There is no emergency.
>
I chickened out and left my system as is. I am using my system 
primarily as my personal VPN and Syncthing server. I would hate to 
have to redo these options on a rebuild to Jessie or whatever is 
the latest version of Debian. As can be seen by my questions, I 
would consider myself an intermediate user of Debian. If I get down 
a sinkhole, I would not know how to get out on my own and would 
probably have to hire someone to get me back to where I was before 
the upgrade. I'll let this project wait for another day, when I 
have upgraded my VPS for other reasons.

I may just purchase another VPS and try things out with a new 
server and tweak things to my liking and then shutdown the old 
server. Thanks for all of your help that you provide on this forum. 
Do you have a bitcoin or monero address where I can send you a 
donation? If I were you I would include this information in your 
signature.

> But eventually I would upgrade Wheezy to Jessie. Debian has labeled
> Wheezy to be "obsolete stable". Support for it ends on May 2018.
>
>
> --
>
> SEC3 Pinger Admin
> Contact information at <https://sec3.net>
Re: sshd_config Help
#298004
Author: Anonymous
Date: Wed, 14 Mar 2018 19:48
19 lines
2320 bytes
> 
> I chickened out and left my system as is. I am using my system 
> primarily as my personal VPN and Syncthing server. I would hate to 
> have to redo these options on a rebuild to Jessie or whatever is 
> the latest version of Debian. As can be seen by my questions, I 
> would consider myself an intermediate user of Debian. If I get down 
> a sinkhole, I would not know how to get out on my own and would 
> probably have to hire someone to get me back to where I was before 
> the upgrade. I'll let this project wait for another day, when I 
> have upgraded my VPS for other reasons.
>
> I may just purchase another VPS and try things out with a new 
> server and tweak things to my liking and then shutdown the old 
> server. Thanks for all of your help that you provide on this forum. 
> Do you have a bitcoin or monero address where I can send you a 
> donation? If I were you I would include this information in your 
> signature.
>
Name suggestion for your new remailer. chickenlittle
Re: sshd_config Help
#298007
Author: Anonymous
Date: Wed, 14 Mar 2018 20:44
25 lines
2644 bytes
On Wed, 14 Mar 2018 14:48:34 -0500, you wrote:
>
> >
> > I chickened out and left my system as is. I am using my system
> > primarily as my personal VPN and Syncthing server. I would hate to
> > have to redo these options on a rebuild to Jessie or whatever is
> > the latest version of Debian. As can be seen by my questions, I
> > would consider myself an intermediate user of Debian. If I get down
> > a sinkhole, I would not know how to get out on my own and would
> > probably have to hire someone to get me back to where I was before
> > the upgrade. I'll let this project wait for another day, when I
> > have upgraded my VPS for other reasons.
> >
> > I may just purchase another VPS and try things out with a new
> > server and tweak things to my liking and then shutdown the old
> > server. Thanks for all of your help that you provide on this forum.
> > Do you have a bitcoin or monero address where I can send you a
> > donation? If I were you I would include this information in your
> > signature.
> >
> Name suggestion for your new remailer. chickenlittle

Don't have a remailer, but I can tell you the name for your 
remailer would be asshole and your stats would consistently be 
below 40%, which means no one would use it.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads