Koozali.org: home of the SME Server

SSH Config File - Prevents Logins

Offline shawnbishop

  • *****
  • 298
  • +0/-0
SSH Config File - Prevents Logins
« on: July 23, 2015, 07:11:11 PM »
Good Day

Everytime we do an update on the SME 9, and we reboot the machine, we are unable to SSH into the box. Unless we do the following in the sshd_config / ssh_config files.

We have tried to change the entries in the template files, but doesnt work. Even using the template files from another SME Box.

Have we been compromised?

sshd_config file / etc/ssh/sshd_config

HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_rsa_key
LoginGraceTime 600
Protocol 2
#UsePAM yes ( We hash out the UsePAM )
ChallengeResponseAuthentication no
Compression yes

ssh_config  /etc/ssh/ssh_config

Port 22
Protocol 2
#Cipher blowfish
#Ciphers arcfour256,blowfish-cbc,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour
#GSSAPIAuthentication yes
#ForwardX11 no
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
#ForwardX11Trusted yes
# Send locale-related environment variables
#SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
#SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
#SendEnv LC_IDENTIFICATION LC_ALL


Everything hashed out..

Thanks..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SSH Config File - Prevents Logins
« Reply #1 on: July 23, 2015, 09:44:44 PM »