• Jamie

    (@scragglydoggames)


    Hi all,

    There isn’t much about it for SSH, so I thought I’d write a note here for anyone else who has the problem i ran into. The plugin is out of date on wordpress.org, but works fine on 3.9.1

    I spent a few hours trying to get my wordpress set up to auto update, but my server uses sftp. I had problems with this, so eventually got it working using ssh.

    I installed this plugin by extracting it to my desktop, then copying it via filezilla to the plugins folder, then going into wordpress dashboard and activating the plugin

    Then I edited wp-config.php

    I added

    // ** FTP SETTINGS FOR AUTO-UPDATE ** //
    define( ‘FS_METHOD’, ‘ssh2’ );
    define( ‘FTP_BASE’, ‘/location/to/root’ );
    define( ‘FTP_CONTENT_DIR’, ‘/location/to/root/wp-content’ );
    define( ‘FTP_PLUGIN_DIR ‘, ‘/location/to/root/wp-content/plugins’ );
    define(‘FTP_HOST’, ‘ipaddress’);
    define(‘FTP_USER’, ‘username’);
    define(‘FTP_PASS’, ‘password’);
    define( ‘FTP_SSL’, true );

    I then uploaded it via filezilla, tried updating again through the dashboard and bingo, it works.

    Read up on https://www.serverstack.com/blog/2013/02/11/automatic-wordpress-updates-using-ftpftps-or-ssh/ for terminology

    Cheers

    Jamie

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

Viewing 1 replies (of 1 total)
  • hello thanks for the infos

    i do not work on standard port –

    the question is – where to add the port number>!?
    how to configure the plugin>?

    i want to run it on version 4

Viewing 1 replies (of 1 total)
  • The topic ‘Info for people using ssh and this plugin’ is closed to new replies.