mdraselkhan
New Pleskian
Hello,
Are you facing an error during an FTP/SFTP connection? As a default, sometimes you are not able to connect your server over the FTP/SFTP without ssh key file. So If you follow this guide you will able to connect your server over the FTP/SFTP.
Thanks to @cepimojico
Are you facing an error during an FTP/SFTP connection? As a default, sometimes you are not able to connect your server over the FTP/SFTP without ssh key file. So If you follow this guide you will able to connect your server over the FTP/SFTP.
- Edit the /etc/ssh/sshd_config file [$ vi /etc/ssh/sshd_config]
- Change PasswordAuthentication and ChallengeResponseAuthentication "no" to yes
- Then scroll down until you see this line "Subsystem sftp /usr/lib/openssh/sftp-server"
- Disable the line by adding a has sign starting the line, [#Subsystem sftp /usr/lib/openssh/sftp-server]
- Under the above line write/add this like [Subsystem sftp internal-sftp]
- Then restart ssh [$ service sshd restart]
- Filezilla: On the hostname field, use server hostname then enter your FTP username & password with Port 22. Make sure Port 21 & 22 open on your server.
- No ssh keys are required for these connections.
Thanks to @cepimojico
Last edited: