diff --git a/ssh_config b/ssh_config index 4bfc008..29aa0ac 100644 --- a/ssh_config +++ b/ssh_config @@ -45,4 +45,7 @@ # PermitLocalCommand no # VisualHostKey no # ProxyCommand ssh -q -W %h:%p gateway.example.com +HostKeyAlgorithms ssh-rsa,ssh-dss +PubkeyAcceptedKeyTypes +ssh-dss,ecdsa-sha2-nistp256 + #UsePrivilegeSeparation no diff --git a/sshd_config b/sshd_config index 473e866..9bbdd2f 100644 --- a/sshd_config +++ b/sshd_config @@ -119,3 +119,8 @@ Subsystem sftp /usr/libexec/sftp-server # X11Forwarding no # AllowTcpForwarding no # ForceCommand cvs server + +PubkeyAcceptedKeyTypes +ssh-dss,ecdsa-sha2-nistp256 + + +