{"id":635,"date":"2019-09-04T14:53:45","date_gmt":"2019-09-04T14:53:45","guid":{"rendered":"https:\/\/cheapsslsecurity.com\/p\/?p=635"},"modified":"2021-07-23T11:05:02","modified_gmt":"2021-07-23T11:05:02","slug":"understanding-the-difference-ssl-tunnel-vs-ssh-tunnel","status":"publish","type":"post","link":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/","title":{"rendered":"Understanding the Difference: SSL Tunnel vs SSH Tunnel"},"content":{"rendered":"<p>Secure communication comes in many forms \u2014 from browsers to servers to applications and various other services. A lot of communication across the internet occurs behinds the scenes. In a sense, most\/all of it does. This is where an SSL tunnel or SSH tunnel comes into play.<\/p>\n<p>We need to ensure that some communication is really secure as it\u2019s used for remote purposes or joining networks together to exchange\/share services or it may secure functionality over users\u2019 data or control what websites actually do.<\/p>\n<p><!--more--><\/p>\n<p>The term tunneling can be interchangeable with connection\/communication. It\u2019s a \u201ctechy\u201d term we (us IT people) use all of the time. When we talk about an SSL tunnel, we may mean something specific like a virtual private network (VPN) tunnel. But it really can mean just a connection to a remote server in general. There is a proxy, or intermediary, between the user client and endpoint. Proxy server (and network) configuration would be needed to listen for the connection and have a route to get to the end service.<\/p>\n<p>Now, an SSL tunnel is different than an SSH tunnel. SSH, or what\u2019s known as secure shell, calls for a service to be running on the endpoint, often a server, and client machine to call to it over the SSH protocol, with proper authentication to the server in order to get to a shell and take command of the server. It doesn\u2019t explicitly call for the transfer of files, unless a transfer protocol is invoked, such as FTP, SFTP or SCP (which is actually done over the SSH protocol) but rather commands and such to control the PC as if you were in front of it.<\/p>\n<p>While SSL tunneling and SSH tunneling sound very similar, there are key differences. This is why we\u2019ll now cover the <a href=\"https:\/\/www.quora.com\/What-is-the-difference-between-SSL-and-SSH-Are-they-both-just-a-way-to-safely-access-a-remote-computer-through-encryption-Do-they-also-transfer-data\/answer\/Jake-Adley\">similarities and differences between SSL and SSH<\/a> for tunneling.<\/p>\n<h2>An SSL Tunnel: How It Works<\/h2>\n<p>Within SSL tunneling, when the connect request is made from client to server, the DNS will have routed it to the proxy server. The client\u2019s connect request is made over the specified port, SSL\/TLS is <a href=\"https:\/\/cheapsslsecurity.com\/support\/glossary.html\">port 443<\/a> by default, but they could actually utilize a different port, if specified, to connect to the client to the proxy server.<\/p>\n<p>From there, the proxy server would also send a request to connect to the end machine (server) on behalf of the client. It may use the same port, or it may use a different port. It\u2019s also possible for the proxy server to have a persistent connection to the server side, which would often be utilized for higher amounts of traffic (frequency) and all requests from clients would be encapsulated by that tunnel. This minimizes the overhead \u201ccost\u201d of building the connection and then tearing it down for each transaction. It\u2019s all dependent on how the system is set up: who is making the requests, whether client requests are limited to a set of users, etc.<\/p>\n<p>At that point, the proxy would be just that \u2014 a mediator between the client and the server. It\u2019s a passthrough. The client and server would be encrypting\/decrypting to each other with the proxy, as it would be designed, only acting as the mediator without accessibility to the unencrypted data. It\u2019s basically another layer of security to prevent a variety of attacks that range from code injection to distributed denial of service (DDoS) to the server (which may be serving many clients).<\/p>\n<h2>An SSH Tunnel: How It Differs from an SSL Tunnel<\/h2>\n<p>SSH tunneling is the orange to the SSL tunneling\u2019s apple; as in, they are both fruit, but the intention and usage is kind of different. The analogies are mixed, but, hopefully, you understand the reference.<\/p>\n<p>SSH is a sort of reworking of the simple Telnet, which is used to create a session to a remote machine \u2014 often a server \u2014 to control, make changes, etc. Telnet, which sends everything in plaintext, should have been long deprecated as SSH is a far more secure and utilized option. Telnet may be okay for use within private networks but even still \u2014 SSH is simple enough to provide the same functionality without creating additional risk.<\/p>\n<div class=\"graysection\">\n<h2>Purchase a Wildcard SSL Certificate &amp; Save Up to 73%!<\/h2>\n<p>We offer the best discount on all types of wildcard SSL Certificates with DV and OV validation. We offer wildcard certificates from the leading CAs, including Comodo CA, Sectigo, Thawte, GeoTrust, and RapidSSL starting for as little as $52.95 per year.<\/p>\n<p><a class=\"comparebtn\" href=\"https:\/\/cheapsslsecurity.com\/sslproducts\/cheap-wildcard-ssl-certificates.html\">Shop Cheap Wildcard SSL Certificates<\/a><\/p>\n<\/div>\n<h3>How SSL Tunneling Works<\/h3>\n<p>SSH is a pretty simple to set up:<\/p>\n<ul>\n<li>A remote machine must have SSH service running;<\/li>\n<li>It must allow (via firewall rules or other security protocol\/implementation) a client machine to come in; and<\/li>\n<li>The client machine must have proper credentials from the remote machine with the applicable permissions (or ability to invoke the correct permissions via <em>sudo<\/em> or root access) to perform whatever operations it intends to do. The authentication can also be certificate based, which has its own set of pros and cons with it.<\/li>\n<\/ul>\n<p>Depending on how the remote machine is set up, the client machine should be able to connect via SSH through a public-facing connection (public IP) or a private IP (LAN connection or a VPN may be required).<\/p>\n<p>Once the connection is made, the client machine is in the remote machine\u2019s shell, which can range from bash, ksh, csh, etc. While it\u2019s not a hard-and-fast rule, most people are SSHing into a Linux-based machine though you are able to shell to Windows machines. Most people would just remote, RDP, RealVNC, TeamViewer, etc. into a Windows machine and then just PowerShell\/DOS from there.<\/p>\n<p>Now, one would be able to set up a proxy for SSH that would work very similarly to the previous section. At that point, you\u2019d kind of have your \u201capprange\u201d\/\u201doranpple\u201d \u2014 an apple and orange hybrid \u2014 where those two functions would be kind of next to each other. And, when utilizing SSH with proper port forwarding, it would be possible to encrypt a connection between a client and a server\/service that may have otherwise gone unencrypted.<\/p>\n<h2>Final Thoughts<\/h2>\n<p>While the similarities are there for an SSH\/SSL tunneling \u2014 and in a sense, I would say that SSH tunneling is a type of SSL tunneling \u2014 they are still two separate processes and are used for different purposes. However, they both have their place:<\/p>\n<ul>\n<li>SSH is, again, a highly utilized protocol, used very often across the internet; and<\/li>\n<li>SSL tunneling has its place, often in VPN (though IPSec is also utilized).<\/li>\n<\/ul>\n<p>Secure tunneling continues to pick up the pace as data breaches, malicious code, people and privatization continue to come to the forefront of data traversing across the internet. Stay safe, weigh all options, and go for best and safest practices \u2014 even if this process calls for extra work.<\/p>\n<div class=\"graysection\">\n<h2>Purchase an SSL Certificate from CheapSSLSecurity &amp; Save Up to 88%!<\/h2>\n<p>We offer the best discount on x.509 digital certificates with SSL certificates starting as low as $5.45 per year.<\/p>\n<p><a class=\"comparebtn\" href=\"https:\/\/cheapsslsecurity.com\/sslbrands\/thawte.html\">Shop Thawte SSL<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Secure communication comes in many forms \u2014 from browsers to servers to applications and various other services. A lot of communication across the internet occurs behinds the scenes. In a sense, most\/all of it does. This is where an SSL &hellip; <a href=\"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,23],"tags":[52,53],"class_list":["post-635","post","type-post","status-publish","format-standard","hentry","category-ssl-advanced","category-comparisons","tag-ssh","tag-tunneling"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security<\/title>\n<meta name=\"description\" content=\"Not sure what the difference is between an SSL tunnel &amp; SSH tunnel? We&#039;ll break down both types of tunneling in terms of their similarities &amp; differences.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security\" \/>\n<meta property=\"og:description\" content=\"Not sure what the difference is between an SSL tunnel &amp; SSH tunnel? We&#039;ll break down both types of tunneling in terms of their similarities &amp; differences.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/\" \/>\n<meta property=\"og:site_name\" content=\"Cheap SSL Security\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CheapSSLSecurities\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-04T14:53:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-23T11:05:02+00:00\" \/>\n<meta name=\"author\" content=\"casey.crane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sslsecurity\" \/>\n<meta name=\"twitter:site\" content=\"@sslsecurity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"casey.crane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/\"},\"author\":{\"name\":\"casey.crane\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\"},\"headline\":\"Understanding the Difference: SSL Tunnel vs SSH Tunnel\",\"datePublished\":\"2019-09-04T14:53:45+00:00\",\"dateModified\":\"2021-07-23T11:05:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/\"},\"wordCount\":1190,\"keywords\":[\"SSH\",\"tunneling\"],\"articleSection\":[\"SSL Advanced\",\"SSL Certificate Comparison\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/\",\"url\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/\",\"name\":\"Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#website\"},\"datePublished\":\"2019-09-04T14:53:45+00:00\",\"dateModified\":\"2021-07-23T11:05:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\"},\"description\":\"Not sure what the difference is between an SSL tunnel & SSH tunnel? We'll break down both types of tunneling in terms of their similarities & differences.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SSL Help\",\"item\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSL Advanced\",\"item\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/ssl-advanced\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Understanding the Difference: SSL Tunnel vs SSH Tunnel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#website\",\"url\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/\",\"name\":\"Cheap SSL Security\",\"description\":\"Shop for SSL Certificates at Cheap Prices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\",\"name\":\"casey.crane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"caption\":\"casey.crane\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security","description":"Not sure what the difference is between an SSL tunnel & SSH tunnel? We'll break down both types of tunneling in terms of their similarities & differences.","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:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/","og_locale":"en_US","og_type":"article","og_title":"Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security","og_description":"Not sure what the difference is between an SSL tunnel & SSH tunnel? We'll break down both types of tunneling in terms of their similarities & differences.","og_url":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/","og_site_name":"Cheap SSL Security","article_publisher":"https:\/\/www.facebook.com\/CheapSSLSecurities","article_published_time":"2019-09-04T14:53:45+00:00","article_modified_time":"2021-07-23T11:05:02+00:00","author":"casey.crane","twitter_card":"summary_large_image","twitter_creator":"@sslsecurity","twitter_site":"@sslsecurity","twitter_misc":{"Written by":"casey.crane","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/#article","isPartOf":{"@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/"},"author":{"name":"casey.crane","@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108"},"headline":"Understanding the Difference: SSL Tunnel vs SSH Tunnel","datePublished":"2019-09-04T14:53:45+00:00","dateModified":"2021-07-23T11:05:02+00:00","mainEntityOfPage":{"@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/"},"wordCount":1190,"keywords":["SSH","tunneling"],"articleSection":["SSL Advanced","SSL Certificate Comparison"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/","url":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/","name":"Understanding the Difference: SSL Tunnel vs SSH Tunnel - Cheap SSL Security","isPartOf":{"@id":"https:\/\/cheapsslsecurity.com\/p\/#website"},"datePublished":"2019-09-04T14:53:45+00:00","dateModified":"2021-07-23T11:05:02+00:00","author":{"@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108"},"description":"Not sure what the difference is between an SSL tunnel & SSH tunnel? We'll break down both types of tunneling in terms of their similarities & differences.","breadcrumb":{"@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cheapsslsecurity.com\/p\/understanding-the-difference-ssl-tunnel-vs-ssh-tunnel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL Help","item":"https:\/\/cheapsslsecurity.com\/p\/"},{"@type":"ListItem","position":2,"name":"SSL Advanced","item":"https:\/\/cheapsslsecurity.com\/p\/ssl-advanced\/"},{"@type":"ListItem","position":3,"name":"Understanding the Difference: SSL Tunnel vs SSH Tunnel"}]},{"@type":"WebSite","@id":"https:\/\/cheapsslsecurity.com\/p\/#website","url":"https:\/\/cheapsslsecurity.com\/p\/","name":"Cheap SSL Security","description":"Shop for SSL Certificates at Cheap Prices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cheapsslsecurity.com\/p\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108","name":"casey.crane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","caption":"casey.crane"}}]}},"_links":{"self":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/comments?post=635"}],"version-history":[{"count":0,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts\/635\/revisions"}],"wp:attachment":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/media?parent=635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/categories?post=635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/tags?post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}