How To Force Your Site Visitors to Use Shared SSL Connection
From time to time, our technical support department is asked how to direct website visitors…
Some cloud server providers disable SSH password authentication by default for security reasons. Instead, they require public key authentication as the only method to log in via SSH.
Since SFTP (Secure File Transfer Protocol) relies on SSH for authentication, password-based SFTP login will also not work unless SSH password authentication is enabled. In such cases, users must use SSH keys to access the server via SFTP.
nano /etc/ssh/sshd_config
PasswordAuthentication no
Change it to:
PasswordAuthentication yes
sudo service ssh restart
sudo -i
If you prefer to allow direct SSH login as root, follow these steps:
nano /etc/ssh/sshd_config
PermitRootLogin no
Change it to:
PermitRootLogin yes
sudo service ssh restart
sudo passwd root
Warning: Enabling root login can be a security risk. Ensure you use a strong password and consider using SSH key authentication instead of passwords.
This way, you can enable SSH password authentication. If you, still get into any difficulty, feel free to seek help from our support specialists.
Learn How to Restart a Linux System using the reboot Command via SSH for efficient system management and smooth operation.
Explore more hosting insights, tips and industry updates.
From time to time, our technical support department is asked how to direct website visitors…
Webmail allows users to send and receive email using standard email protocols over the Internet.…
An open-source database management system, MariaDB commonly installed as part of the popular LEMP (Linux,…