Estou tentando determinar qual (is) criptografia (s) um servidor OpenSSH 7.1 considera ofensivo. O servidor OpenSSH 7.1 foi construído com o OpenSSL 1.0.2d .
Abaixo, adicionei as quebras de linha abaixo para facilitar a leitura, mas não há espaços ou quebras na linha (exceto depois de Ciphers
):
$ sudo /usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
/usr/local/etc/sshd_config line 28: Bad SSH2 cipher spec '[email protected],\
[email protected],[email protected],aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,\
aes192-cbc,aes256-cbc'.
Qual (is) codificação (s) o servidor OpenSSH 7.1 considera ofensivo?
A maioria das linhas comentadas foi removida de sshd_config
abaixo.
$ cat /usr/local/etc/sshd_config
# $OpenBSD: sshd_config,v 1.97 2015/08/06 14:53:21 deraadt Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
...
# The default requires explicit activation of protocol 1
Protocol 2
# HostKeys for protocol version 2
HostKey /usr/local/etc/ssh_host_ed25519_key
HostKey /usr/local/etc/ssh_host_ecdsa_key
HostKey /usr/local/etc/ssh_host_dsa_key
HostKey /usr/local/etc/ssh_host_rsa_key
# Ciphers and keying
# Ciphers [email protected],[email protected],[email protected],aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc
RekeyLimit 1G 4h
# Authentication:
LoginGraceTime 2m
KbdInteractiveAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication no
ChallengeResponseAuthentication no
# Check only .ssh/authorized_keys
AuthorizedKeysFile .ssh/authorized_keys
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing.
#UsePAM no
# Use Apple's sandbox. On later versions of OS X, the sandbox is a stand alone
# library and requires config'ing with --with-libs="-lsandbox"
UsePrivilegeSeparation sandbox
# override default of no subsystems
Subsystem sftp /usr/local/libexec/sftp-server