-
Notifications
You must be signed in to change notification settings - Fork 0
Open SSH not support DSA default
bluecryolite edited this page Jan 6, 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 receive: root@localhost: Permission Denied.
Solutions below:
Solution I:
using RSA pub-key.
Solution II (support DSA):
- 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.