Title: Changing SSH port
Last modified: July 23, 2025

---

# Changing SSH port

 *  [CountryEd](https://wordpress.org/support/users/countryed/)
 * (@countryed)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/)
 * 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](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18567844)
 * 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](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18567858)
 * 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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18567863)
 * > 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](https://wordpress.org/support/users/countryed/)
 * (@countryed)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18567936)
 * 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.
 * ![](https://wordpress.org/878ba90a-0bf2-4de1-bb41-7d8e7136b8b4)
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18567938)
 * You also don’t need FTP access to change content on your WordPress website. Why
   are you doing this?
 *  Thread Starter [CountryEd](https://wordpress.org/support/users/countryed/)
 * (@countryed)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18568180)
 * 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](http://www.nameofweb.com:21)
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18568194)
 * 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/](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](https://wordpress.org/support/users/countryed/)
 * (@countryed)
 * [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18568212)
 * 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.

## Tags

 * [File Permissions](https://wordpress.org/support/topic-tag/file-permissions/)
 * [FTP credentials](https://wordpress.org/support/topic-tag/ftp-credentials/)
 * [hosting issue](https://wordpress.org/support/topic-tag/hosting-issue/)
 * [server configuration](https://wordpress.org/support/topic-tag/server-configuration/)
 * [theme installation](https://wordpress.org/support/topic-tag/theme-installation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [CountryEd](https://wordpress.org/support/users/countryed/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/changing-ssh-port/#post-18568212)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
