{"id":204,"date":"2016-05-03T11:30:35","date_gmt":"2016-05-03T09:30:35","guid":{"rendered":"https:\/\/wpethzprd.ethz.ch\/isgdmath\/?p=204"},"modified":"2025-05-05T11:43:21","modified_gmt":"2025-05-05T09:43:21","slug":"ssh-vpn","status":"publish","type":"post","link":"https:\/\/blogs.ethz.ch\/isgdmath\/ssh-vpn\/","title":{"rendered":"SSH Access to D-MATH network from outside"},"content":{"rendered":"\n<p>If you are using the <a href=\"https:\/\/blogs.ethz.ch\/isgdmath\/wifi-vpn\">D-MATH WiFi or VPN configuration<\/a> (with &#8220;math-guest&#8221;), you are already in the D-MATH network and can reach all important hosts directly (ex.: <code>ssh host -l &lt;eth-username&gt;<\/code>).<\/p>\n\n\n\n<p>If you are using the <strong>default ETH VPN<\/strong> (i.e. connected with &#8220;staff-net&#8221; or &#8220;student-net&#8221;) you can simply access the D-MATH network (ex. our <a href=\"https:\/\/blogs.ethz.ch\/isgdmath\/central-clients\/\" data-type=\"post\" data-id=\"219\">central clients<\/a>) with SSH via <code>pytharski<\/code> just by entering the following command in a terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh pytharski.math.ethz.ch -l &lt;eth-username&gt;\n# or just\nssh pytharski -l &lt;eth-username&gt;\n# and if your local username is the same as the ETH one, then\nssh pytharski<\/code><\/pre>\n\n\n\n<!--more-->\n\n\n\n<p>The first time that you log in to <code>pytharski<\/code> you also have to accept the host key (please verify the fingerprint that you get with <a href=\"https:\/\/isg.math.ethz.ch\/ssh-known-hosts\">this list<\/a>). Then a<span style=\"font-size: inherit\">t the &#8220;Hostname or command&#8221;-prompt enter for example &#8220;ada-29&#8221; and you are in<\/span>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1464\" height=\"1190\" src=\"https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski.png\" alt=\"pytharski\" class=\"wp-image-208\" srcset=\"https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski.png 1464w, https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski-300x244.png 300w, https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski-1024x832.png 1024w, https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski-768x624.png 768w, https:\/\/blogs.ethz.ch\/isgdmath\/files\/2016\/05\/pytharski-600x488.png 600w\" sizes=\"auto, (max-width: 1464px) 100vw, 1464px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using the D-MATH WiFi or VPN configuration (with &#8220;math-guest&#8221;), you are already in the D-MATH network and can reach all important hosts directly (ex.: ssh host -l &lt;eth-username&gt;). If you are using the default ETH VPN (i.e. connected with &#8220;staff-net&#8221; or &#8220;student-net&#8221;) you can simply access the D-MATH network (ex. our central [&hellip;]<\/p>\n","protected":false},"author":43853,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[198218,197476],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-home-office","category-ssh"],"_links":{"self":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/users\/43853"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":1,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":1689,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts\/204\/revisions\/1689"}],"wp:attachment":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}