Hey if above mentioned setting doesn’t help you then I have one solution for you. I am also having some of the setting, I am writing below and just try to apply it on your system and check it is working or not. go to the /etc/ssh/sshd_cofig configuration setting:
Code:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
Subsystem sftp internal-sftp
Match Group sftponly
ChrootDirectory /var/sftp/%u
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
Bookmarks