• CountryEd

    (@countryed)


    Hello all,
    I just installed word press and need to update content using the built in SSH feature but I am not able to locate where I can change the port that will be used. I am not using the standard SSH port of 22.
    I have not found that setting in my configs, maybe I am missing it.
    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • corrinarusso

    (@corrinarusso)

    Is your site on-prem, or hosted using wordpress.com? If using wordpress.com I doubt you can change the port. If you are on-prem then this has nothing to do with wordpress and you’ll need to edit your sshd_config file and probably as well update your WAF / firewall to (firewalld) to allow the port.

    Moderator threadi

    (@threadi)

    I don’t quite understand how you want to change content via SSH? I’m not aware that this is necessary. Why don’t you use the browser? Or are you looking for custom programming that automatically imports content?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I am not using the standard SSH port of 22.
    I have not found that setting in my configs, maybe I am missing it.

    This is not really a WordPress topic but for that contact your host provider. They should be able to inform you if that ssh is even an option for your hosting plan.

    If you are on WordPress.COM then I do not believe that is offered for most plans there.

    Thread Starter CountryEd

    (@countryed)

    My apologies to you all. I did edit the SSH port for myself but realized the screen shot is not SSH but FTP/SFTP. I have not yet installed a FTP server but will do so now as to prevent this error.

    Moderator threadi

    (@threadi)

    You also don’t need FTP access to change content on your WordPress website. Why are you doing this?

    Thread Starter CountryEd

    (@countryed)

    When I am attempting to install a theme, it looks for a FTP server on my my server.
    That is why I thought one would be needed.

    Failed to connect to FTP Server http://www.nameofweb.com:21

    Moderator threadi

    (@threadi)

    WordPress displays this message when it cannot write directories and files in the hosting itself. In this case, an FTP connection is offered as an alternative option.

    However, you don’t need this. I don’t know of any projects that still actively use it. You need to check and adjust the directory and file permissions. Here is a rather general article on this topic: https://developer.wordpress.org/advanced-administration/server/file-permissions/ – you will have to check for yourself which permissions need to be set. It sounded to me as if you were administering the server yourself – if you are using a host for this, contact their support team.

    Thread Starter CountryEd

    (@countryed)

    Thank you for this and the link… I will update permissions as needed.

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

The topic ‘Changing SSH port’ is closed to new replies.