• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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.

  1. Edit the /etc/ssh/sshd_config file [$ vi /etc/ssh/sshd_config]
  2. Change PasswordAuthentication and ChallengeResponseAuthentication "no" to yes
  3. Then scroll down until you see this line "Subsystem sftp /usr/lib/openssh/sftp-server"
  4. Disable the line by adding a has sign starting the line, [#Subsystem sftp /usr/lib/openssh/sftp-server]
  5. Under the above line write/add this like [Subsystem sftp internal-sftp]
  6. Then restart ssh [$ service sshd restart]
  7. 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.
  8. No ssh keys are required for these connections.

Thanks to @cepimojico
 
Last edited:
Update

  1. Edit the /etc/ssh/sshd_config file [$ vi /etc/ssh/sshd_config]
  2. Change PasswordAuthentication and ChallengeResponseAuthentication "no" to yes
  3. Then restart ssh [$ service sshd restart]
  4. Go to the Service plan Permission tab then select Can allow access only to a chrooted environment & open the Hosting Parameters Tab uncheck SSH access to the server shell under the subscription's system user
  5. 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.
  6. No ssh keys are required for these connections.

 
Back
Top