Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved FTP server not found?

    Support
    sftp
    3
    4
    317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      toxicdorito last edited by girish

      Everytime that we are trying to get in to FTP its not finding the server anyone know why

      If there is a way to fix this please message back

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @toxicdorito When you do telnet my.domain.com 222 from your PC does it connect? If not, it's most likely a firewall issue. Is the FTP service running under Services ? Can you try restarting it?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          The issue here was that the SFTP server re-uses the host keys. In this server, the host keys had a password and thus the SFTP server now starting up because it couldn't use the host keys.

          To fix, re-generate the keys:

          # mv ssh_host_rsa_key* /root # in case you want to keep these for some reason
          # ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
          Generating public/private rsa key pair.
          Enter passphrase (empty for no passphrase): 
          Enter same passphrase again: 
          Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
          Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
          
          (don't provide a passphrase!)
          
          1 Reply Last reply Reply Quote 0
          • W
            waikey last edited by

            @girish said in FTP server not found?:

            n case you want to keep these for some reason

            ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key

            Generating public/private rsa key pair.
            Enter passphrase (empty for no passphrase):
            Enter same passphrase again:

            got the same problem. and thanks for your reply!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB