{"id":280,"date":"2015-11-24T11:41:10","date_gmt":"2015-11-24T11:41:10","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=280"},"modified":"2015-11-24T11:41:10","modified_gmt":"2015-11-24T11:41:10","slug":"connecting-to-other-machines-via-ssh-using-alias","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2015\/11\/24\/connecting-to-other-machines-via-ssh-using-alias\/","title":{"rendered":"Connecting to other machines via ssh using Alias"},"content":{"rendered":"<p>What it says on the tin:<\/p>\n<pre>\r\nvi .bash_profile\r\n<\/pre>\n<pre>\r\nalias mymailserver='ssh root@1.2.3.4'\r\nalias mybox1='ssh ssh root@1.2.3.194'\r\nalias mybox2='ssh root@1.2.3.9'\r\nalias mybox3='ssh root@1.2.3.12'\r\nalias mybox4='ssh root@1.2.3.21'\r\n<\/pre>\n<pre>\r\nsource .bash_profile\r\n<\/pre>\n<p>Simplez<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What it says on the tin: vi .bash_profile alias mymailserver=&#8217;ssh root@1.2.3.4&#8242; alias mybox1=&#8217;ssh ssh root@1.2.3.194&#8242; alias mybox2=&#8217;ssh root@1.2.3.9&#8242; alias mybox3=&#8217;ssh root@1.2.3.12&#8242; alias mybox4=&#8217;ssh root@1.2.3.21&#8242; source .bash_profile Simplez<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,9],"tags":[],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/280\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}