How to Utilize the Skeleton Directory in WHM
In this article, we have explained how to utilize the skeleton directory in WHM. The…
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.
In this article, we have explained how to utilize the skeleton directory in WHM. The…
Securing your website with SSL protects data and builds user trust. In this guide, we’ll…
When your server is functioning properly but is now unable to manage a request, it…