{"id":19105,"date":"2017-11-06T19:05:36","date_gmt":"2017-11-06T19:05:36","guid":{"rendered":"https:\/\/blog.resellerclub.com\/?p=19105"},"modified":"2021-05-04T14:18:54","modified_gmt":"2021-05-04T14:18:54","slug":"tips-on-how-to-use-ssh-like-a-pro","status":"publish","type":"post","link":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/","title":{"rendered":"A few tips on how to use SSH like a pro"},"content":{"rendered":"<h2><b>What is SSH?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">SSH or Secure Shell is a powerful protocol to keep a computer network secure through strong encryption and authentication.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19107 size-large\" src=\"\/blog\/wp-content\/uploads\/2017\/10\/36038688651_f8b9db8246_b-1-250x200.jpg\" alt=\"What is SSH\" width=\"250\" height=\"200\"><\/p>\n<h2><b>Why use SSH?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">You might have multiple computers either at home or office and wish to perform the following functions :<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Copy\/move files from one computer to another\/server<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Remotely operate another computer\u2019s account<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Move files from \/ to your web hosting server where your websites are hosted<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">SSH keeps these network connections more secure than other protocols available such as Telnet, FTP and&nbsp;RCP and more specifically protects your network from attacks such as :<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">DNS spoofing<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">IP spoofing<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">IP source routing<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If you have a website :SSH is important to keep sensitive data like customer information, credit card transactions, etc safe<\/span><\/li>\n<\/ul>\n<h2><b>How to use SSH like a pro:-<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Here are a few tips and tricks to use SSH like a pro :<\/span><\/p>\n<h3>1.&nbsp; Security with public wifi:<\/h3>\n<p><span style=\"font-weight: 400;\">You can direct web traffic from your local system to a remote SSH server (which you can use as a proxy server) to encrypt it -preventing other users on a public wifi system from looking into your data and content. This hack is known as \u2018SSH Tunneling\u2019.<\/span><\/p>\n<h3>2. How to remember the public key:<\/h3>\n<p><span style=\"font-weight: 400;\">You can enable the \u2018visual host key\u2019 feature to make it easier to remember the long string public key of the computer you are using.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, enable this command when you run SSH &#8211; <\/span><\/p>\n<p>&nbsp;<\/p>\n<div style=\"background-color: black;\">\n<p><code><\/code><br \/>\n<strong>ssh -o VisualHostKey=yes user@host<\/strong><br \/>\n<kbd><\/kbd><br \/>\n<var><\/var><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>3. Keeping a Terminal Session:<\/h3>\n<p><span style=\"font-weight: 400;\">Each login using SSH produces a new terminal session and logging out, ends one. You can keep the session open by using GNU screen.<\/span><\/p>\n<h3>4. Useful combo commands to &nbsp;save time<\/h3>\n<p><span style=\"font-weight: 400;\">If you need just one command from a remote host, having to login and exit just for that can be quite tedious. To avoid that, you can combine the request with the SSH to save time.<\/span><\/p>\n<h3>5. Logging in with a different port name<\/h3>\n<p><span style=\"font-weight: 400;\">You may, for whatever reason, need to use another port at your location in case the standard port 22 &nbsp;at your environment is blocked. In this case, use the following command-<\/span><\/p>\n<p>&nbsp;<\/p>\n<div style=\"background-color: black;\">\n<p><code><\/code><br \/>\n<strong>$ ssh user@example.com -p 3307<br \/>\n<\/strong><br \/>\n<kbd><\/kbd><br \/>\n<var><\/var><\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">Signing up with a web host that offers SSH is extremely important. &nbsp;At ResellerClub, we support SSH access on all our Linux Hosting servers for <\/span><a href=\"https:\/\/india.resellerclub.com\/shared-hosting\" rel=\"nofollow\"><span style=\"font-weight: 400;\">Shared Hosting<\/span><\/a><span style=\"font-weight: 400;\"> (both Single Domain, Multi-domain) and Reseller hosting. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Do you know of any more interesting hacks for SSH? For more on web security, here are some <\/span><a href=\"\/blog\/how-to-secure-your-website-on-the-application-server-level\/\"><span style=\"font-weight: 400;\">tips for securing a website at the application and server level<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/\"\n\t\t\t  \tdata-numposts = \"10\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"social\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>What is SSH? SSH or Secure Shell is a powerful protocol to keep a computer network secure through strong encryption and authentication. Why use SSH? You might have multiple computers either at home or office and wish to perform the following functions : Copy\/move files from one computer to another\/server Remotely operate another computer\u2019s account<\/p>\n","protected":false},"author":53,"featured_media":19109,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1533,1523,995],"tags":[4927,4923,135,4877,22],"hashtags":[],"class_list":{"0":"post-19105","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tech","8":"category-development","9":"category-hosting","10":"tag-network-security","11":"tag-secure-shell","12":"tag-security","13":"tag-ssh","14":"tag-tips"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A few tips on how to use SSH like a pro<\/title>\n<meta name=\"description\" content=\"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:\" \/>\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.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A few tips on how to use SSH like a pro\" \/>\n<meta property=\"og:description\" content=\"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/\" \/>\n<meta property=\"og:site_name\" content=\"ResellerClub Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100005889763273\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-06T19:05:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-04T14:18:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tanya Noronha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#website\",\"url\":\"https:\/\/www.resellerclub.com\/blog\/\",\"name\":\"ResellerClub Blog\",\"description\":\"Web Hosting &amp; Domains\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Tips on How to Use SSH Like a Pro\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#webpage\",\"url\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/\",\"name\":\"A few tips on how to use SSH like a pro\",\"isPartOf\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#primaryimage\"},\"datePublished\":\"2017-11-06T19:05:36+00:00\",\"dateModified\":\"2021-05-04T14:18:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/16ed77e00d0b86df4fe5ea9dbc5eacaf\"},\"description\":\"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:\",\"breadcrumb\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.resellerclub.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A few tips on how to use SSH like a pro\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/16ed77e00d0b86df4fe5ea9dbc5eacaf\",\"name\":\"Tanya Noronha\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4c41998ad50d748935c7a5bca721e54bc7cae620f2d4e846c473bccea46770c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4c41998ad50d748935c7a5bca721e54bc7cae620f2d4e846c473bccea46770c5?s=96&d=mm&r=g\",\"caption\":\"Tanya Noronha\"},\"url\":\"https:\/\/www.resellerclub.com\/blog\/author\/tanya-n\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A few tips on how to use SSH like a pro","description":"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:","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.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/","og_locale":"en_US","og_type":"article","og_title":"A few tips on how to use SSH like a pro","og_description":"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:","og_url":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/","og_site_name":"ResellerClub Blog","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100005889763273","article_published_time":"2017-11-06T19:05:36+00:00","article_modified_time":"2021-05-04T14:18:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tanya Noronha","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.resellerclub.com\/blog\/#website","url":"https:\/\/www.resellerclub.com\/blog\/","name":"ResellerClub Blog","description":"Web Hosting &amp; Domains","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#primaryimage","inLanguage":"en-US","url":"","contentUrl":"","caption":"Tips on How to Use SSH Like a Pro"},{"@type":"WebPage","@id":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#webpage","url":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/","name":"A few tips on how to use SSH like a pro","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#primaryimage"},"datePublished":"2017-11-06T19:05:36+00:00","dateModified":"2021-05-04T14:18:54+00:00","author":{"@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/16ed77e00d0b86df4fe5ea9dbc5eacaf"},"description":"SSH keeps these network connections more secure than other protocols available such as telnet,ftp and rcp and more specifically protects your network from attacks such as:","breadcrumb":{"@id":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.resellerclub.com\/blog\/tips-on-how-to-use-ssh-like-a-pro\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.resellerclub.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A few tips on how to use SSH like a pro"}]},{"@type":"Person","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/16ed77e00d0b86df4fe5ea9dbc5eacaf","name":"Tanya Noronha","image":{"@type":"ImageObject","@id":"https:\/\/www.resellerclub.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/4c41998ad50d748935c7a5bca721e54bc7cae620f2d4e846c473bccea46770c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4c41998ad50d748935c7a5bca721e54bc7cae620f2d4e846c473bccea46770c5?s=96&d=mm&r=g","caption":"Tanya Noronha"},"url":"https:\/\/www.resellerclub.com\/blog\/author\/tanya-n\/"}]}},"_links":{"self":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/19105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/comments?post=19105"}],"version-history":[{"count":18,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/19105\/revisions"}],"predecessor-version":[{"id":33174,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/19105\/revisions\/33174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/media?parent=19105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/categories?post=19105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/tags?post=19105"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/hashtags?post=19105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}