-
Notifications
You must be signed in to change notification settings - Fork 0
Open SSH not support DSA default
bluecryolite edited this page Jan 5, 2018
·
6 revisions
Open SSH installed in Ubuntu 16.04, is not support DSA default. If you would login SSH without password by using DSA pub-key, you may recevie: root@localhost: Permission Denied.
Solutions below: Solution I: using RSA pub-key.
Solution II:
- Add the line of "PubkeyAcceptedKeyTypes=+ssh-dss" into /etc/ssh/sshd_config. Then restart the service of SSHD.
- Create the file named config at /root/.ssh, then add the line of "PubkeyAcceptedKeyTypes=+ssh-dss" into it.