Skip to content

Commit 7f3709e

Browse files
config file to made dsa key auth work
1 parent 55f2ec6 commit 7f3709e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ssh_config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,7 @@
4545
# PermitLocalCommand no
4646
# VisualHostKey no
4747
# ProxyCommand ssh -q -W %h:%p gateway.example.com
48+
HostKeyAlgorithms ssh-rsa,ssh-dss
49+
PubkeyAcceptedKeyTypes +ssh-dss,ecdsa-sha2-nistp256
50+
4851
#UsePrivilegeSeparation no

sshd_config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,8 @@ Subsystem sftp /usr/libexec/sftp-server
119119
# X11Forwarding no
120120
# AllowTcpForwarding no
121121
# ForceCommand cvs server
122+
123+
PubkeyAcceptedKeyTypes +ssh-dss,ecdsa-sha2-nistp256
124+
125+
126+

0 commit comments

Comments
 (0)