• Resolved affectiosus

    (@affectiosus)


    I’m working with a local installation of WP (LAMP). Every time I try to update/remove a plugin/theme, backend is asking me for FTP credentials which I don’t have. Same things on a remote server and this prompt never appears, though I never provided FTP login details to WP. I’d like not to run local FTP server, so is there any way to use local installation without it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • SSH might prove a convenient option. Enabling SSH Upgrade Access

    If you’re using a Debian distribution (openssh-server is probably already installed) it might be as quick as;

    apt-get install openssh-server libssh2-php

    service apache2 restart

    ..and the ssh2 option should appear under the Connection Information dialog box

    RHEL based distros – and others – may take a bit more work, but it’s not too much more work to get the ssh2 extension working. You may need to do a little searching on the best method for your OS.

    Thread Starter affectiosus

    (@affectiosus)

    Yeah, I’m using Debian. Thanks for the way, I’ll give it a shot asap

    Thread Starter affectiosus

    (@affectiosus)

    Yes, I got SSH2 option, but still prompted for hostname, user and password; also I got 2 new fields, public key and private key. Have no idea what to do with these 🙁

    try;

    Hostname: localhost

    username: The linux account user name that owns your wordpress files
    password: linux account password for that user.

    You can use either username and password, or authentication by key pairs. For localhost development the linux account username and password usually works fine.

    Example: If I have a local server with a normal user account named “frank” whose password is “dentalflosstycoon”, in the dialog I would use;

    Hostname: localhost

    FTP/SSH Username: frank

    FTP/SSH Password: dentalflosstycoon

    Thread Starter affectiosus

    (@affectiosus)

    Thanks! It worked.

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Local installation asking for FTP credentials’ is closed to new replies.