{"id":1806,"date":"2015-03-06T11:19:22","date_gmt":"2015-03-06T10:19:22","guid":{"rendered":"http:\/\/denbeke.be\/blog\/?p=1806"},"modified":"2015-03-06T11:19:22","modified_gmt":"2015-03-06T10:19:22","slug":"setup-an-ssh-tunnel-on-mac-os-x","status":"publish","type":"post","link":"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/","title":{"rendered":"Setup an SSH tunnel on Mac OS X"},"content":{"rendered":"<p>There are some apps available to setup an SSH tunnel on OS X, but you can do it very easily in the terminal.<\/p>\n<p>Just start a SOCKS web proxy using this SSH command:<\/p>\n<pre><code>$ ssh -D 8080 -C -N username@myserver.com -p 22<\/code><\/pre>\n<p>Once your proxy is running you must tell OS X to use this web proxy. Go to <code>System preferences<\/code>, <code>Network<\/code>, <code>Advanced<\/code>. Open the <code>Proxies<\/code> tab and select <code>SOCKS-proxy<\/code>.<br \/>\nSet the server: <code>127.0.0.1<\/code>, set the port: <code>8080<\/code>. Save and apply the settings, and everything should work!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are some apps available to setup an SSH tunnel on OS X, but you can do it very easily in the terminal. Just start a SOCKS web proxy using this SSH command: $ ssh -D 8080 -C -N username@myserver.com -p 22 Once your proxy is running you must tell OS X to use this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[227],"tags":[252,253,202],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.6.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setup an SSH tunnel on Mac OS X &ndash; DenBeke<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setup an SSH tunnel on Mac OS X &ndash; DenBeke\" \/>\n<meta property=\"og:description\" content=\"There are some apps available to setup an SSH tunnel on OS X, but you can do it very easily in the terminal. Just start a SOCKS web proxy using this SSH command: $ ssh -D 8080 -C -N username@myserver.com -p 22 Once your proxy is running you must tell OS X to use this [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/\" \/>\n<meta property=\"og:site_name\" content=\"DenBeke\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-06T10:19:22+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@MthsBk\" \/>\n<meta name=\"twitter:site\" content=\"@MthsBk\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/denbeke.be\/blog\/#website\",\"url\":\"https:\/\/denbeke.be\/blog\/\",\"name\":\"DenBeke\",\"description\":\"Mathias Beke\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/denbeke.be\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/#webpage\",\"url\":\"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/\",\"name\":\"Setup an SSH tunnel on Mac OS X &ndash; DenBeke\",\"isPartOf\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#website\"},\"datePublished\":\"2015-03-06T10:19:22+00:00\",\"dateModified\":\"2015-03-06T10:19:22+00:00\",\"author\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/denbeke.be\/blog\/servers\/setup-an-ssh-tunnel-on-mac-os-x\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\",\"name\":\"Mathias Beke\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/denbeke.be\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/015ba35e6ce4f5859e3888ca99807575?s=96&d=mm&r=g\",\"caption\":\"Mathias Beke\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1806"}],"collection":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/comments?post=1806"}],"version-history":[{"count":2,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1806\/revisions"}],"predecessor-version":[{"id":1808,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1806\/revisions\/1808"}],"wp:attachment":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/media?parent=1806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/categories?post=1806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/tags?post=1806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}