{"id":302,"date":"2017-12-20T08:44:33","date_gmt":"2017-12-20T14:44:33","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=302"},"modified":"2018-01-25T06:28:34","modified_gmt":"2018-01-25T12:28:34","slug":"how-to-setup-reverse-ssh-tunnel-on-linux","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/","title":{"rendered":"How to Setup Reverse SSH Tunnel on Linux"},"content":{"rendered":"<div id=\"linux-1319765728\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>We&#8217;ll explain to you, how to set up reverse SSH tunnel on Linux. Let&#8217;s say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux machine behind NAT from your VPS but you don&#8217;t want to bother with port forwarding or your machine behind NAT doesn&#8217;t have a static IP address. We have an easy solution, in today&#8217;s tutorial we are going to learn how to set up a reverse SSH tunnel on Linux.<\/p>\n<p><!--more--><\/p>\n<h2>1. Setting up a reverse SSH tunnel<\/h2>\n<p>We&#8217;ll start by setting up the reverse SSH tunnel on the machine that is behind NAT, do that by typing in the following command:<\/p>\n<pre>ssh -R 24553:localhost:22 user@111.111.111.111<\/pre>\n<p>Note: Make sure to substitute the SSH user and IP address in the command above to your own SSH user and IP address.<\/p>\n<p>The port used for the reverse tunnel in the command above is 24553, feel free to use whatever port you like and make sure this port is open on the VPS you want to connect the reverse tunnel to.You can check iptables if the port is open by executing the following command:<\/p>\n<pre>iptables -L -vn<\/pre>\n<p>If the output has a DROP all line at the bottom like the following example:<\/p>\n<pre>Chain INPUT (policy ACCEPT 0 packets, 0 bytes)\r\n pkts bytes target     prot opt in     out     source               destination\r\n    0     0 ACCEPT     tcp  --  *      *       0.0.0.0\/0            0.0.0.0\/0            tcp dpt:80\r\n 3214 3919K ACCEPT     all  --  *      *       10.20.30.1           0.0.0.0\/0\r\n    0     0 ACCEPT     all  --  *      *       10.20.31.2           0.0.0.0\/0\r\n 631K  855M ACCEPT     all  --  *      *       0.0.0.0\/0            0.0.0.0\/0            state RELATED,ESTABLISHED\r\n 329K   17M DROP       all  --  *      *       0.0.0.0\/0            0.0.0.0\/0\r\n<\/pre>\n<p>Or an INPUT policy set to DROP like the following example:<\/p>\n<pre>Chain INPUT (policy DROP 329K packets, 17M bytes)\r\n pkts bytes target     prot opt in     out     source               destination\r\n    0     0 ACCEPT     tcp  --  *      *       0.0.0.0\/0            0.0.0.0\/0            tcp dpt:80\r\n 3214 3919K ACCEPT     all  --  *      *       10.20.30.1           0.0.0.0\/0\r\n    0     0 ACCEPT     all  --  *      *       10.20.31.2           0.0.0.0\/0\r\n 631K  855M ACCEPT     all  --  *      *       0.0.0.0\/0            0.0.0.0\/0            state RELATED,ESTABLISHED\r\n<\/pre>\n<p>Then you will need to open the port in iptables by executing the command:<\/p>\n<pre>iptables -I INPUT 1 -p tcp --dport 24553 -j ACCEPT<\/pre>\n<p>Of course, make sure to replace the value in &#8220;&#8211;dport&#8221; for your preferred port number.<\/p>\n<h2>2. Connecting to the SSH tunnel<\/h2>\n<p>This is really easy and is done by executing the following command on the VPS:<\/p>\n<pre>ssh localhost -p 24553<\/pre>\n<p>You can also SSH from other machines to the NAT&#8217;ed machine, you can do that by first logging into your VPS:<\/p>\n<pre>ssh user@111.111.111.111<\/pre>\n<p>And then logging in to the machine from your VPS:<\/p>\n<pre>ssh localhost -p 24553<\/pre>\n<h2>3. Creating a persistent SSH tunnel<\/h2>\n<p>The tunnel we created above won&#8217;t be persistent and will be dropped if the connection on the Linux machine behind NAT drops, if we want to make our reverse SSH tunnel persistent we need to install autossh.<br \/>\nFor Ubuntu\/Debian execute the following command to install autossh:<\/p>\n<pre>apt-get install autossh<\/pre>\n<p>For RHEL\/CentOS execute the following command to install autossh:<\/p>\n<pre>yum install autossh<\/pre>\n<p>Now we need to create the reverse SSH tunnel on the machine behind NAT, execute the following command:<\/p>\n<pre>autossh -M 20110 -o ServerAliveInterval=20 -R 24553:localhost:22 user@111.111.111.111 &amp; &gt;\/dev\/null 2&gt;&amp;1<\/pre>\n<p>And then log in to the machine behind NAT by executing the following command on your VPS:<\/p>\n<pre>ssh localhost -p 24553<\/pre>\n<p>That&#8217;s it, now you have successfully set up a reverse SSH tunnel on Linux.<\/p>\n<p>Of course, if you use one of our <a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\">Linux support services<\/a>, you can always contact and ask our expert Linux admins (via chat or ticket) to set up a reverse SSH tunnel on your Linux VPS for you. They are available 24\u00d77 and will provide information or assistance immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post on how to use please share it with your friends on the social networks using the buttons below or simply leave a reply. Thanks.<\/p><div id=\"linux-980275747\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll explain to you, how to set up reverse SSH tunnel on Linux. Let&#8217;s say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux machine behind NAT from your VPS but you don&#8217;t want to bother with port forwarding or your machine behind NAT doesn&#8217;t have a static [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[79],"class_list":["post-302","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miscellaneous","tag-linux-host-support"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"We&#039;ll explain to you, how to set up reverse SSH tunnel on Linux. Let&#039;s say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"We&#039;ll explain to you, how to set up reverse SSH tunnel on Linux. Let&#039;s say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-20T14:44:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-25T12:28:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Setup Reverse SSH Tunnel on Linux\",\"datePublished\":\"2017-12-20T14:44:33+00:00\",\"dateModified\":\"2018-01-25T12:28:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/\"},\"wordCount\":498,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg\",\"keywords\":[\"Linux host support\"],\"articleSection\":[\"Miscellaneous\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/\",\"name\":\"How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg\",\"datePublished\":\"2017-12-20T14:44:33+00:00\",\"dateModified\":\"2018-01-25T12:28:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"We'll explain to you, how to set up reverse SSH tunnel on Linux. Let's say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg\",\"width\":750,\"height\":410,\"caption\":\"How-to-Setup-Reverse-SSH-Tunnel-on-Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-setup-reverse-ssh-tunnel-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup Reverse SSH Tunnel on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport","description":"We'll explain to you, how to set up reverse SSH tunnel on Linux. Let's say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux","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:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport","og_description":"We'll explain to you, how to set up reverse SSH tunnel on Linux. Let's say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2017-12-20T14:44:33+00:00","article_modified_time":"2018-01-25T12:28:34+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Setup Reverse SSH Tunnel on Linux","datePublished":"2017-12-20T14:44:33+00:00","dateModified":"2018-01-25T12:28:34+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/"},"wordCount":498,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg","keywords":["Linux host support"],"articleSection":["Miscellaneous"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/","name":"How to Setup Reverse SSH Tunnel on Linux | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg","datePublished":"2017-12-20T14:44:33+00:00","dateModified":"2018-01-25T12:28:34+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"We'll explain to you, how to set up reverse SSH tunnel on Linux. Let's say you have a Linux machine behind NAT and a VPS.You want to SSH to the Linux","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/12\/How-to-Setup-Reverse-SSH-Tunnel-on-Linux.jpg","width":750,"height":410,"caption":"How-to-Setup-Reverse-SSH-Tunnel-on-Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-setup-reverse-ssh-tunnel-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Setup Reverse SSH Tunnel on Linux"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions\/402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/304"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}