Unable to access to the eSight server through SFTP, only through FTP.
1.Try to login to eSight server through SFTP by root user, the login fails.
2.Try to login to eSight server through SFTP by ftpuser, the login is successful. This means that SFTP service is ok but root has been forbidden to use SFTP.
3.Login to eSight server by putty and validate the file /etc/ftpusers
On this file, the line where the root user is listed should be commented with #.This file lists the user that cannot use FTP/SFTP. On customer’s server the # exists at the beginning of root, so this is ok.
4.Validate the configurations on the file /etc/ssh/sshd_config, it is found that the root login is disabled, additionally root is listed on the Match User section.
The eSight server can be accessed through SFTP by the ftpuser only, the root user is not allowed to login through SFTP. Normally during the installation of eSight , the root user should be allowed to use SFTP.
1.Enable the root user to login through SFTP on the sshd_config file.
2.Modify the /etc/ssh/sshd_config as follows:
a) On PermitRootLogin change to Yes. And on Match User line, delete the root user.
b) Restart the sshd process:
#service sshd restart
3. Login to eSight server through SFTP by root user.