{"id":1743,"date":"2022-08-15T12:30:00","date_gmt":"2022-08-15T17:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1743"},"modified":"2022-08-05T09:50:28","modified_gmt":"2022-08-05T14:50:28","slug":"10-useful-ssh-commands-in-linux","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/","title":{"rendered":"10 Useful SSH Commands in Linux"},"content":{"rendered":"\n<p>In this blog post, we will show you the ten most used SSH commands in any Linux distribution.<\/p>\n\n\n\n<p>SSH stands for Secure Socket Shell and is one of the main key services in Linux. The default port that SSH is running on is the TCP\/IP port 22, but it can be easily changed due to security reasons. System Administrators are using this system to log in to the server and execute commands via the command line. The SSH as the secure shell is a replacement for insecure login programs such as Telnet, rlogin, rsh and etc.<\/p>\n\n\n\n<p>In this blog post, we will use the Ubuntu 22.04 OS. You can use any Linux distribution. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Fresh install of Ubuntu 22.04 OS<\/li><li>User privileges: root or non-root user with sudo privileges<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Update the System<\/h2>\n\n\n\n<p>First, update the system packages to the latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<p>Once the system is updated, we can start with the most 10 used SSH commands in Linux.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Log in to Server with root User<\/h2>\n\n\n\n<p>To login to the server with the root user, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@192.168.1.215<\/pre>\n\n\n\n<p>In this case you will log in to the server on the default port 22, where the access is granted. In most cases, this command is used on the hosts with multiple virtual private servers in other words, with virtualization.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Log in to Server with root User, password, and custom port<\/h2>\n\n\n\n<p>This scenario is used by the clients who have full root access to their servers provided by the hosting company.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@192.168.1.215 -p 6622<\/pre>\n\n\n\n<p>This is a scenario where the SSH port is changed due to security reasons, and the SSH will be accessible only on that port.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Log in to Server with a non-root User<\/h2>\n\n\n\n<p>Clients who do not have full root access to the server can only log in with their username. In most cases, those users have shared hosting plans or are developers who have limited access to the server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">shh developer@192.168.1.215 -p 22<\/pre>\n\n\n\n<p>It is up to the user if he wants to specify or not the default port 22 in the command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Log in to Server with Key File<\/h2>\n\n\n\n<p>In this case, the user has the key file somewhere locally on his computer. Executing the ssh command is with specifying the location of the key file and specifying the user that file has permission for.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh -i keyfile.txt user@192.168.1.215<\/pre>\n\n\n\n<p>The key file can be located on your server, and you can log in to another server as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Check SSH client version<\/h2>\n\n\n\n<p>We assume that we covered the most used cases for login to the server, so now will proceed with the SSH commands that are executed on the server.<\/p>\n\n\n\n<p>To check the SSH client version, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh -V<\/pre>\n\n\n\n<p>You should receive an output similar to this<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# ssh -V\nOpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">6. Generate SSH Key Pairs<\/h2>\n\n\n\n<p>To generate SSH key pairs, follow the steps below. First, create the directory for the SSH keys.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir \/root\/.ssh<\/pre>\n\n\n\n<p>Then, set the right permissions.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chmod 0700 \/root\/.ssh<\/pre>\n\n\n\n<p>Now, you can generate SSH keys with extra security using the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh-keygen<\/pre>\n\n\n\n<p>The system will ask you where to store the keys, about the passphrase, and confirm the passphrase. Once done, you should receive an output similar to this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# ssh-keygen\nGenerating public\/private rsa key pair.\nEnter file in which to save the key (\/root\/.ssh\/id_rsa):\nEnter passphrase (empty for no passphrase):\nEnter same passphrase again:\nYour identification has been saved in \/root\/.ssh\/id_rsa\nYour public key has been saved in \/root\/.ssh\/id_rsa.pub\nThe key fingerprint is:\nSHA256:j\/jQn0W8CrxJdR5NHcfTn9zDTmlANj4dn9QRlljNzWE root@host.test.vps\nThe key&#039;s randomart image is:\n+---[RSA 3072]----+\n|            .+oE@|\n|            oo*+#|\n|             o=oO|\n|           . o.Oo|\n|        S . = = .|\n|       + + + o . |\n|      o * . +    |\n|       + = +     |\n|        + +      |\n+----[SHA256]-----+<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">7. Copy Files Remotely over SSH with Rsync<\/h2>\n\n\n\n<p>This command is often used when there is some website migration over two different servers.<\/p>\n\n\n\n<p>For example, to copy the <strong>html<\/strong> directory from one to another server running on port 7022, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">rsync -Waq -e &#039;ssh -p 7022&#039; \/var\/www\/html\/ root@&quot;IP address of the other server&quot;:\/var\/www\/html\/<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">8. Copy File Remotely over SSH with SCP<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">scp -p 7022 \/path_of_the_file\/name.txt username@&quot;IP address of the other server&quot;:\/var\/www\/html\/<\/pre>\n\n\n\n<p>This command will copy the file to the \/var\/www\/html directory on a server running on port 7022<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">9. Change Default SSH Port 22<\/h2>\n\n\n\n<p>This is not an SSH command but is very relatable to the SSH service itself. Open the file <strong>\/etc\/ssh\/sshd_config<\/strong> with your favorite editor and find the line that contains the <strong>Port 22<\/strong><\/p>\n\n\n\n<p>Change the port number to <strong>6622<\/strong> for example. Save the file and close it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/07\/picturessh.jpg\" alt=\"\" class=\"wp-image-42616\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">10. Restart SSH Service<\/h2>\n\n\n\n<p>After some changes in the SSH configuration, we need to restart the SSH service for the changes to take effectivity.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart ssh.service<\/pre>\n\n\n\n<p>That&#8217;s all. In this tutorial, we explained the ten most used SSH commands in Linux. If you find it difficult to understand the basic SSH commands, you can always contact our technical support, and they will help you with this. We are available 24\/7.<\/p>\n\n\n\n<p>If you liked this post about ten useful SSH commands in Linux, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main key services in Linux. The default port that SSH is running on is the TCP\/IP port 22, but it can be easily changed due to &#8230; <a title=\"10 Useful SSH Commands in Linux\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/\" aria-label=\"More on 10 Useful SSH Commands in Linux\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1744,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,208],"tags":[253,27,121],"class_list":["post-1743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-commands","tag-linux","tag-ssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>10 Useful SSH Commands in Linux | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 Useful SSH Commands in Linux | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-15T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"10 Useful SSH Commands in Linux\",\"datePublished\":\"2022-08-15T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/\"},\"wordCount\":739,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/10-useful-ssh-commands-in-linux.webp\",\"keywords\":[\"commands\",\"linux\",\"ssh\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/\",\"name\":\"10 Useful SSH Commands in Linux | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/10-useful-ssh-commands-in-linux.webp\",\"datePublished\":\"2022-08-15T17:30:00+00:00\",\"description\":\"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/10-useful-ssh-commands-in-linux.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/10-useful-ssh-commands-in-linux.webp\",\"width\":742,\"height\":372,\"caption\":\"10 useful ssh commands in linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/10-useful-ssh-commands-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10 Useful SSH Commands in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"10 Useful SSH Commands in Linux | LinuxCloudVPS Blog","description":"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main","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:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"10 Useful SSH Commands in Linux | LinuxCloudVPS Blog","og_description":"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-08-15T17:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"10 Useful SSH Commands in Linux","datePublished":"2022-08-15T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/"},"wordCount":739,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp","keywords":["commands","linux","ssh"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/","name":"10 Useful SSH Commands in Linux | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp","datePublished":"2022-08-15T17:30:00+00:00","description":"In this blog post, we will show you the ten most used SSH commands in any Linux distribution. SSH stands for Secure Socket Shell and is one of the main","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/08\/10-useful-ssh-commands-in-linux.webp","width":742,"height":372,"caption":"10 useful ssh commands in linux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/10-useful-ssh-commands-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"10 Useful SSH Commands in Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1743"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1743\/revisions"}],"predecessor-version":[{"id":1745,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1743\/revisions\/1745"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1744"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}