Viewing 11 replies - 1 through 11 (of 11 total)
  • I’m afraid I’ll only be able to answer your first question: “how to Edit wp-config.php – on a server with SFTP and port xyz – (not 22)”

    In two words: “Use FileZilla”. There may be other SFTP Client programs that do this, but FileZilla has a View/Edit option that is set up with the File Editing settings within FileZilla. I use NotePad++ as my editor of choice. Admittedly, this solution is for Windows.

    Alternatively, of course, you could use an SSH client and an editor like Nano on the web host, assuming it is Linux or another UNIX.

    Thread Starter say_hello

    (@say_hello)

    hello dear jonradio

    many many thanks for the answer – i run filezilla on my opensuse – so no problem here.
    but -the question is: can i do the automated update of plugins and all that things – with the wordpress.

    or – should i use filezilla to do it manually!?

    see the full story:

    hello dear wordpress-experts hope everything is fine at your site

    well i tried to do automated updates on my wordpress site.

    i have no glue

    I think I know the answer to the following question as “not possible” but I figured I would check.

    my sites are on servers where we disable FTP access and only use SFTP access, and also on a different port (not port 21).

    what if i want to use a automated maintaining service like the following

    https://mainwp.com
    http://wwww.infinitewp.com

    automated Installing and updating plugins to the sites does not seem to work and I assume this is the reason why.
    I’m also assuming the File uploader extension will not work either. Can anyone confirm this for sure though?

    And last but not least – i heard bout the version WordPress 4. 0 that is abl to do this. But belive me. they run port 21
    but i have to run another poort

    i heard bot the process of configuring the automatic-backup updates: see this page http://codex.wordpress.org/Configuring_Automatic_Background_Updates

    well i need to have a workaround that goes round – i need to configure the automated backup-updates-process so that i am able to
    a. use sftp
    b. run another port than 21

    Any ideas as far as workaround?

    see this page http://codex.wordpress.org/Configuring_Automatic_Background_Updates

    and: https://wordpress.org/support/topic/update-plugins-using-sftp-with-non-standard-port?replies=18

    btw; here the special page- “Enabling SSH Upgrade Access”

    http://codex.wordpress.org/Editing_wp-config.php#Enabling_SSH_Upgrade_Access

    and subesquently see the following pages:

    cf the following threads:
    https://mainwp.com/forum/search.php?searchid=2529
    https://mainwp.com/forum/showthread.php?10440-plugin-update-file-uploader-and-SFTP&highlight=sftp
    https://mainwp.com/forum/showthread.php?9981-MainWP-and-SFTP&highlight=sftp

    As I said, the only thing you asked about that I have hands-on experience with is your first question: how to edit wp-config.php.

    Because I do not have experience with automatic updating of plugins, the best I can offer is a suggestion that you go through the WordPress plugins that do this and see if any will work in your situation. Here is the search that I did: https://wordpress.org/plugins/search.php?q=plugins+update&sort=

    If that doesn’t lead you to a solution, feel free to respond and I’ll leave this open to someone else to answer.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: @say_hello could you please stop posting the same SFTP question in so many places repeatedly? Your local moderators and the spam system will thank you profusely. πŸ˜‰

    Start with the basics: Please give this a read if you haven’t already done so for regular port 22.

    http://codex.wordpress.org/Editing_wp-config.php#Enabling_SSH_Upgrade_Access

    Have you tried any of these plugins using regular port 22?

    https://wordpress.org/plugins/search.php?q=sftp+update

    The reason I say use port 22 is that setting up SSH/SFTP updates can be tricky. Using port 22 is easier and if you can’t get that working (make sure you are also listening on port 22) then you don’t have to worry about non-standard ports. πŸ˜‰

    Once you get that working then consider attempting another port besides 22.


    Edit
    : Yes, I know you’ve linked to that codex page but I’m just triple checking. *Drinks more coffee*

    Thread Starter say_hello

    (@say_hello)

    hello dear Jan thank you for the reply.

    eagerly seekin a solution for the sftp access (/since ftp is closed on my server ) that runs on a port other than 21 or 22

    see what i ve found:

    https://wordpress.org/plugins/ssh-sftp-updater-support/

    Keeping your WordPress install up-to-date and installing plugins
    in a hassle-free manner is not so easy if your server uses SFTP.
    “SSH SFTP Updater Support” for WordPress uses phpseclib
    to remedy this deficiency.

    phpseclib: pure PHP implementations of SSH, SFTP, RSA …
    phpseclib.sourceforge.net

    i will try out this – and y
    https://wordpress.org/plugins/ssh-sftp-updater-support/

    Keeping your WordPress install up-to-date and installing plugins
    in a hassle-free manner is not so easy if your server uses SFTP.
    “SSH SFTP Updater Support” for WordPress uses phpseclib
    to remedy this deficiency.

    phpseclib: pure PHP implementations of SSH, SFTP, RSA …
    phpseclib.sourceforge.net

    i will try out this – and yes: i stop posting my request.
    sorry for the posting – but i am desperatley seeking a good solution

    i will reply to this thread if i found something – and if the above mentioned plugin works for me…

    many thanks for all you do !!

    wiΒ΄th regards

    @say_hello

    Do you have permission to access hosting with SSH?
    If yes just CHOWN the wordpress directory to www-data mode.

    Thread Starter say_hello

    (@say_hello)

    hello dear Quand LD i have access to the server with filezilla via sftp. question. can i do something with that can i change the owner of the files and folders with filezilla? l ove to hear from you

    FileZilla does not allow you to change the Ownership, only the Read/Write/Execute permissions. If you have SFTP access, you “must” have SSH access.

    If you are willing to use Command Line, my new current favourite SSH client is XShell 4, which is free for non-commercial use. You’ll need to use the CHOWN command.

    Thread Starter say_hello

    (@say_hello)

    hello dear jonradio

    many many thanks for your continued support – this is just an outstanding experience for me.

    i am running opensuse 13.1 and will upgrade later the weekend to the newest version: 13.2 πŸ˜‰

    Well and then i will install xshell 4

    question: which things or credentials from the server do i need!?
    can i just login with

    a. the login data as they are

    1. the server (host)
    2. the user-name
    3. the security-file (private or is it public)

    love to hear from you

    greetings

    All of the credentials for SSH should be the same as what you use for SFTP. Typically, name of host, user name and whatever form of security key you are using (password, certificate, etc.)

    Thread Starter say_hello

    (@say_hello)

    many many thanks – i will give it a try at the weekend.

    greetings

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Editing wp-config.php – on a server with SFTP and port xyz – (not 22)’ is closed to new replies.