{"id":17175,"date":"2023-07-30T05:41:53","date_gmt":"2023-07-30T05:41:53","guid":{"rendered":"http:\/\/64c147994ca5ca001b1b2748"},"modified":"2025-01-07T04:35:30","modified_gmt":"2025-01-07T03:35:30","slug":"change-default-ssh-port-linux","status":"publish","type":"post","link":"https:\/\/dassiorleando.com\/fr\/change-default-ssh-port-linux\/","title":{"rendered":"How to Change Default SSH Port on Linux"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p><strong>SSH stands for Secure Shell<\/strong>, it&#8217;s a widely used network protocol for securely accessing and managing remote computers or servers over the internet. It provides a secure encrypted connection between the client and the server, ensuring that data transmitted between them remains confidential and protected from unauthorized access. In this article, we will walk you through the process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The <strong>YouTube Channels<\/strong> in both English (En) and French (Fr) are now accessible, feel free to subscribe by clicking <a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n<\/blockquote>\n\n\n<div class=\"vlp-link-container vlp-layout-basic wp-block-visual-link-preview-link\"><a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" class=\"vlp-link\" title=\"Numerica Ideas\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-side\"><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/yt3.googleusercontent.com\/klwPa3fnccvxnvUjmfGmcdJDeX8J7BMbRraxiH69WeLx6qr3fQdxYSGN37vKE4jBCqGX5pZCgQ=s900-c-k-c0x00ffffff-no-rj\" style=\"max-width: 150px; max-height: 150px\" \/><\/div><\/div><div class=\"vlp-layout-zone-main\"><div class=\"vlp-block-0 vlp-link-title\">Numerica Ideas<\/div><div class=\"vlp-block-1 vlp-link-summary\">NumericaIdeas is a technical community that creates opportunities for IT professionals, where you\u2019ll secure your dream job, and indeed the group through which you can develop your hard and soft skills at your own pace. Our motto is \u201cDiscover, Learn, Build, &amp; Share\u201d \ud83d\ude80 \ud83d\udca1 La cha\u00eene est aussi disponi\u2026<\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"security\">Security<\/h2>\n\n\n\n<p>The internet is a big open space with plenty of possibilities, not only for good but also for mal intended persons, they often try to guess what our servers&#8217; passwords are by using the default settings, and since the <strong>Linux ports<\/strong> range from <strong>0 to 65536<\/strong>, it&#8217;s a terrific work to find out the specific port a service runs on if your default ports are unavailable. So, there is a big chance they won&#8217;t compromise your servers.<\/p>\n\n\n\n<p>By default, SSH listens on port <strong>22<\/strong>, but changing the default port to a non-standard one can enhance security by making it harder for malicious actors to target the SSH service by brute-forcing or any other method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-change-ssh-port-on-linux\">How to Change SSH Port on Linux<\/h2>\n\n\n\n<p>In this section is unveiled a step-by-step guide to changing the SSH port for Linux systems.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-accessing-the-terminal\">Step 1: Accessing the Terminal<\/h3>\n\n\n\n<p>To begin the process, you need to access the terminal on your Linux system. You can do this by opening the Terminal application if you&#8217;re logged in already, or by using a remote terminal via an existing SSH connection as below.<\/p>\n\n\n\n<p>For the sake of the example, we spun up an Ubuntu virtual server instance, then we successfully connected ourselves via the command:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">ssh username@your_server_ip\nor\nssh -i server-key-pair.pem username@your_server_ip<\/pre>\n\n\n\n<p>In this command, <strong>server-key-pair.pem<\/strong> represents the server SSH keypair (if necessary), <strong>username<\/strong> is the username of the account to use, and <strong>your_server_ip<\/strong> the server&#8217;s public IP address over the internet.<\/p>\n\n\n\n<p>As output, here&#8217;s the terminal session:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/07\/ssh-logged-in.png\" alt=\"How to Change Default SSH Port on Linux\"\/><figcaption class=\"wp-element-caption\">Logged in to the server via SSH<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-switch-to-superuser-root-or-use-sudo\">Step 2: Switch to Superuser (Root) or Use Sudo<\/h3>\n\n\n\n<p>Changing the SSH port requires administrative privileges. Depending on your setup, you can either switch to the superuser (root) using the <code>su<\/code> command and enter the root password, or you can use the <code>sudo<\/code> command before each relevant command throughout the process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-backup-ssh-configuration\">Step 3: Backup SSH Configuration<\/h3>\n\n\n\n<p>Before making any changes, it is essential to create a backup of the SSH configuration file to avoid any potential issues. The SSH configuration file is usually located at <code>\/etc\/ssh\/sshd_config<\/code>.<\/p>\n\n\n\n<p>To create a backup, use the following command to make a copy of that file:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo cp \/etc\/ssh\/sshd_config \/etc\/ssh\/sshd_config_backup<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-4-edit-the-ssh-configuration-file\">Step 4: Edit the SSH Configuration File<\/h3>\n\n\n\n<p>Next, you&#8217;ll need to modify the SSH configuration file to specify the new port. Open the file using a text editor like Nano or Vim:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo nano \/etc\/ssh\/sshd_config<\/pre>\n\n\n\n<p>Locate the line that reads:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\"># Port 22<\/pre>\n\n\n\n<p>Remove the &#8216;#&#8217; symbol at the beginning of the line, and change &#8217;22&#8217; to your desired port number (choose a port between 1024 and 65535, which are non-privileged ports):<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Port 48329<\/pre>\n\n\n\n<p>Replace <strong>48329<\/strong> with your preferred port number, don&#8217;t put in something trivial like 22222.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-5-save-and-exit\">Step 5: Save and Exit<\/h3>\n\n\n\n<p>After making the changes, save the file and exit the text editor. In Nano, you can do this by pressing <code>CTRL + O<\/code> followed by <code>ENTER<\/code> to save, and then <code>CTRL + X<\/code> to exit.<\/p>\n\n\n\n<p><iframe style=\"border-radius: 4px; border: 2px solid #e5e7eb; margin: 0; background-color: transparent;\" src=\"https:\/\/embeds.beehiiv.com\/6e19a1f8-8d19-4ec9-9ed7-ca858ff7ca76\" width=\"100%\" height=\"320\" frameborder=\"0\" scrolling=\"no\" data-test-id=\"beehiiv-embed\">&lt;!&#8211;kg-card-end: html&#8211;> &lt;h3 id=&#8221;step-6-restart-the-ssh-service&#8221;>Step 6: Restart the SSH Service&lt;\/h3> &lt;p>To apply the changes, you need to restart the SSH service:&lt;\/p> &lt;pre>&lt;code>sudo service ssh restart&lt;\/code>&lt;\/pre> &lt;p>If you are using a system with systemd, you can use the following command instead:&lt;\/p> &lt;pre>&lt;code>sudo systemctl restart sshd&lt;\/code>&lt;\/pre> &lt;h3 id=&#8221;step-7-firewall-configuration-optional-&#8220;>Step 7: Firewall Configuration (Optional)&lt;\/h3> &lt;p>If you have a firewall running on your system, you need to update the rules to allow the new SSH port. For example, if you are using &lt;strong>UFW (Uncomplicated Firewall)&lt;\/strong>, use the following command:&lt;\/p> &lt;pre>&lt;code>sudo ufw allow 48329\/tcp&lt;\/code>&lt;\/pre> &lt;p>For our case, that service is disabled:&lt;\/p> &lt;figure class=&#8221;kg-card kg-image-card kg-card-hascaption&#8221;>&lt;img src=&#8221;https:\/\/assets.numericaideas.com\/2023\/07\/disabled-ufw-firewall-service.png&#8221; class=&#8221;kg-image&#8221; alt=&#8221;How to Change Default SSH Port on Linux&#8221; \/> &lt;figcaption>Disabled UFW firewall service&lt;\/figcaption> &lt;p>&lt;\/p>&lt;\/figure> &lt;p>&lt;strong>Note&lt;\/strong>: If you skip doing this, you&#8217;ll be locked out of your own server, and without any admin panel to reset the firewall configuration, you won&#8217;t be able to sign in via SSH again.&lt;\/p> &lt;h3 id=&#8221;step-8-verify-the-new-port&#8221;>Step 8: Verify the New Port&lt;\/h3> &lt;p>To ensure everything is working correctly, let&#8217;s verify that the new SSH port is active by attempting to connect to the Linux system:&lt;\/p> &lt;pre>&lt;code>ssh -p 48329 username@your_server_ipnnornnssh -i server-key-pair.pem -p 48329 username@your_server_ip [with keypair]&lt;\/code>&lt;\/pre> &lt;p>The addition is the option &lt;code>-p&lt;\/code> to pass in the SSH port for the connection request, here&#8217;s an example in the following screenshot:&lt;\/p> &lt;figure class=&#8221;kg-card kg-image-card kg-card-hascaption&#8221;>&lt;img src=&#8221;https:\/\/assets.numericaideas.com\/2023\/07\/connection-different-port.png&#8221; class=&#8221;kg-image&#8221; alt=&#8221;How to Change Default SSH Port on Linux&#8221; \/> &lt;figcaption>Verify changed port by connecting via SSH&lt;\/figcaption> &lt;p>&lt;\/p>&lt;\/figure> &lt;p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014&lt;\/p> &lt;p>We have just started our journey to build a network of professionals to grow even more our free knowledge-sharing community that\u2019ll give you a chance to learn interesting things about topics like cloud computing, software development, and software architectures while keeping the door open to more opportunities.&lt;\/p> &lt;p>Does this speak to you? If &lt;strong>YES&lt;\/strong>, feel free to &lt;a href=&#8221;https:\/\/discord.numericaideas.com\/&#8221; rel=&#8221;nofollow&#8221;>Join our Discord Server&lt;\/a> to stay in touch with the community and be part of independently organized events.&lt;\/p> &lt;p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014&lt;\/p> &lt;h2 id=&#8221;conclusion&#8221;>Conclusion&lt;\/h2> &lt;p>Congratulations! You have successfully changed the SSH port on your Linux system, which enhances security by reducing the risk of automated attacks. Always remember the new port number and use it to establish SSH connections to your server in the future. By following these steps and implementing best security practices, you can strengthen the defense of your Linux system against potential threats.&lt;\/p> &lt;p>Thanks for reading this article. Like, recommend, and share if you enjoyed it. Follow us on &lt;a href=&#8221;https:\/\/www.facebook.com\/numericaideas&#8221; rel=&#8221;nofollow&#8221;>Facebook&lt;\/a>, &lt;a href=&#8221;https:\/\/twitter.com\/numericaideas&#8221; rel=&#8221;nofollow&#8221;>Twitter&lt;\/a>, and &lt;a href=&#8221;https:\/\/www.linkedin.com\/company\/numericaideas&#8221; rel=&#8221;nofollow&#8221;>LinkedIn&lt;\/a> for more content.&lt;\/p><\/iframe><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-6-restart-the-ssh-service\">Step 6: Restart the SSH Service<\/h3>\n\n\n\n<p>To apply the changes, you need to restart the SSH service:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo service ssh restart<\/pre>\n\n\n\n<p>If you are using a system with <strong>systemd<\/strong>, you can use the following command instead:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo systemctl restart sshd<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-7-firewall-configuration-optional-\">Step 7: Firewall Configuration (Optional)<\/h3>\n\n\n\n<p>If you have a firewall running on your system, you need to update the rules to allow the new SSH port. For example, if you are using&nbsp;<strong>UFW (Uncomplicated Firewall)<\/strong>, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">sudo ufw allow 48329\/tcp<\/pre>\n\n\n\n<p>In our case, that service is disabled:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/07\/disabled-ufw-firewall-service.png\" alt=\"DisabledUFW\"\/><figcaption class=\"wp-element-caption\">Disabled UFW firewall service<\/figcaption><\/figure>\n\n\n\n<p><strong>Note<\/strong>: If you skip doing this, you&#8217;ll be locked out of your server, and without any admin panel to reset the firewall configuration, you won&#8217;t be able to sign in via SSH again.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-8-verify-the-new-port\">Step 8: Verify the New Port<\/h3>\n\n\n\n<p>To ensure everything is working correctly, let&#8217;s verify that the new SSH port is active by attempting to connect to the Linux system:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">ssh -p 48329 username@your_server_ip\nor\nssh -i server-key-pair.pem -p 48329 username@your_server_ip [with keypair]<\/pre>\n\n\n\n<p>The addition is the option&nbsp;<code>-p<\/code>&nbsp;to pass in the SSH port for the connection request, here&#8217;s an example in the following screenshot:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/07\/connection-different-port.png\" alt=\"TerminalSession02\"\/><figcaption class=\"wp-element-caption\">Verify changed port by connecting via SSH<\/figcaption><\/figure>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<p>We have just started our journey to build a network of professionals to grow our free knowledge-sharing community that\u2019ll give you a chance to learn interesting things about topics like cloud computing, software development, and software architectures while keeping the door open to more opportunities.<\/p>\n\n\n\n<p>Does this speak to you? If&nbsp;<strong>YES<\/strong>, feel free to&nbsp;<a href=\"https:\/\/discord.numericaideas.com\/\">Join our Discord Server<\/a>&nbsp;to stay in touch with the community and be part of independently organized events.<\/p>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Congratulations! You have successfully changed the SSH port on your Linux system, which enhances security by reducing the risk of automated attacks. Always remember the new port number and use it to establish SSH connections to your server in the future. By following these steps and implementing best security practices, you can strengthen the defense of your Linux system against potential threats.<\/p>\n\n\n\n<p>Thanks for reading this article. Like, recommend, and share if you enjoyed it. Follow us on&nbsp;<a href=\"https:\/\/www.facebook.com\/numericaideas\">Facebook<\/a>,&nbsp;<a href=\"https:\/\/twitter.com\/numericaideas\">Twitter<\/a>, and&nbsp;<a href=\"https:\/\/www.linkedin.com\/company\/numericaideas\">LinkedIn<\/a>&nbsp;for more content.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.<\/p>","protected":false},"author":2,"featured_media":18682,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[69],"class_list":["post-17175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change Default SSH Port on Linux<\/title>\n<meta name=\"description\" content=\"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change Default SSH Port on Linux\" \/>\n<meta property=\"og:description\" content=\"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Orleando Dassi\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-30T05:41:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-07T03:35:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2081\" \/>\n\t<meta property=\"og:image:height\" content=\"1383\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Orl\u00e9ando Dassi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:site\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Orl\u00e9ando Dassi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/\"},\"author\":{\"name\":\"Orl\u00e9ando Dassi\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"headline\":\"How to Change Default SSH Port on Linux\",\"datePublished\":\"2023-07-30T05:41:53+00:00\",\"dateModified\":\"2025-01-07T03:35:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/\"},\"wordCount\":1572,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png\",\"keywords\":[\"Linux\"],\"articleSection\":[\"Security\"],\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/\",\"url\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/\",\"name\":\"How to Change Default SSH Port on Linux\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png\",\"datePublished\":\"2023-07-30T05:41:53+00:00\",\"dateModified\":\"2025-01-07T03:35:30+00:00\",\"description\":\"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.\",\"breadcrumb\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png\",\"width\":2081,\"height\":1383,\"caption\":\"How to Change Default SSH Port on Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dassiorleando.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Default SSH Port on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dassiorleando.com\/#website\",\"url\":\"https:\/\/dassiorleando.com\/\",\"name\":\"Orleando Dassi\",\"description\":\"My personal portfolio and resume\",\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dassiorleando.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\",\"name\":\"Orl\u00e9ando Dassi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"width\":1643,\"height\":1747,\"caption\":\"Orl\u00e9ando Dassi\"},\"logo\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\"},\"description\":\"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.\",\"sameAs\":[\"https:\/\/dassiorleando.com\/\",\"https:\/\/www.instagram.com\/dassiorleando\/\",\"https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/\",\"https:\/\/x.com\/dassiorleando\",\"https:\/\/www.youtube.com\/@dassiorleando\"],\"url\":\"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change Default SSH Port on Linux","description":"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/","og_locale":"fr_CA","og_type":"article","og_title":"How to Change Default SSH Port on Linux","og_description":"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.","og_url":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/","og_site_name":"Orleando Dassi","article_published_time":"2023-07-30T05:41:53+00:00","article_modified_time":"2025-01-07T03:35:30+00:00","og_image":[{"width":2081,"height":1383,"url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png","type":"image\/png"}],"author":"Orl\u00e9ando Dassi","twitter_card":"summary_large_image","twitter_creator":"@dassiorleando","twitter_site":"@dassiorleando","twitter_misc":{"Written by":"Orl\u00e9ando Dassi","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#article","isPartOf":{"@id":"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/"},"author":{"name":"Orl\u00e9ando Dassi","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"headline":"How to Change Default SSH Port on Linux","datePublished":"2023-07-30T05:41:53+00:00","dateModified":"2025-01-07T03:35:30+00:00","mainEntityOfPage":{"@id":"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/"},"wordCount":1572,"commentCount":0,"publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png","keywords":["Linux"],"articleSection":["Security"],"inLanguage":"fr-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dassiorleando.com\/change-default-ssh-port-linux\/","url":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/","name":"How to Change Default SSH Port on Linux","isPartOf":{"@id":"https:\/\/dassiorleando.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png","datePublished":"2023-07-30T05:41:53+00:00","dateModified":"2025-01-07T03:35:30+00:00","description":"Process of changing the default SSH port on Linux systems, ensuring a safer and more secure remote access experience.","breadcrumb":{"@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#primaryimage","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/07\/change-default-ssh-port-linux-1-min.png","width":2081,"height":1383,"caption":"How to Change Default SSH Port on Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/numericaideas.com\/blog\/change-default-ssh-port-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dassiorleando.com\/"},{"@type":"ListItem","position":2,"name":"How to Change Default SSH Port on Linux"}]},{"@type":"WebSite","@id":"https:\/\/dassiorleando.com\/#website","url":"https:\/\/dassiorleando.com\/","name":"Orleando Dassi","description":"My personal portfolio and resume","publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dassiorleando.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e","name":"Orl\u00e9ando Dassi","image":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","width":1643,"height":1747,"caption":"Orl\u00e9ando Dassi"},"logo":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/"},"description":"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.","sameAs":["https:\/\/dassiorleando.com\/","https:\/\/www.instagram.com\/dassiorleando\/","https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/","https:\/\/x.com\/dassiorleando","https:\/\/www.youtube.com\/@dassiorleando"],"url":"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/"}]}},"_links":{"self":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/comments?post=17175"}],"version-history":[{"count":1,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17175\/revisions"}],"predecessor-version":[{"id":21660,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17175\/revisions\/21660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media\/18682"}],"wp:attachment":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media?parent=17175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/categories?post=17175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/tags?post=17175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}