When trying to log in to Kali Linux via X11 device the following error message may be displayed:
1. After analyzing the logs, the following error was found.
2. Edit the sshd_config using the followind command:
vim /etc/ssh/sshd_config
3. Insert the following line and confirm the action:
HostKeyAlgorithms=ssh-rsa,[email protected]
PubkeyAcceptedAlgorithms=+ssh-rsa,[email protected]
4. After the change, restart ssh:
systemctl restart sshd