WordPress.org

Ready to get started?Download WordPress

Forums

WordPress can't connect to sftp... debug option? (8 posts)

  1. Wouser
    Member
    Posted 2 years ago #

    I have a server. I can connect to the server to sftp, it tells me everytime that something went wrong during connecting. I am however 100% sure that I my login data is correct.

    I'm however not very sure about the hostname. The hostname is just the webpages name but wordpress is located somewhere in "hostname/map/map/public_html/" Do I need to enter a hostname of "hostname/map/map/public_html/" for wordpress to correctly connect? I believe not, however I tried it but it also fails...

    Sooo is there a kind of debug option maybe?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try contacting your hosts for assistance.

  3. Wouser
    Member
    Posted 2 years ago #

    I am the host LOL!

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    What do you use for the FTP hostname normally?

  5. Wouser
    Member
    Posted 2 years ago #

    The same. Only ftp connections are blocked because we want secure ssh connections so only sftp is allowed.

  6. What OS are you hosting with? Ubuntu LTS? You need to add libssh2-php and bounce Apache if you've got LTS.

    Other distros may be different.

  7. Wouser
    Member
    Posted 2 years ago #

    Ok thanks I will try that.

  8. Use sudo apt-get libssh2-php ; sudo /etc/init.d/apache2 restart and that should do it.

    ...and if there is some activation via pear that I've left out I disavow all knowledge of this non-WordPress response... ;)

Topic Closed

This topic has been closed to new replies.

About this Topic