{"id":494,"date":"2011-02-16T22:36:03","date_gmt":"2011-02-17T06:36:03","guid":{"rendered":"http:\/\/blog.portnumber53.com\/?p=494"},"modified":"2011-02-16T22:36:03","modified_gmt":"2011-02-17T06:36:03","slug":"linux-ssh-configuration-file","status":"publish","type":"post","link":"https:\/\/blog.portnumber53.com\/index.php\/2011\/02\/16\/linux-ssh-configuration-file\/","title":{"rendered":"Linux:: SSH configuration file"},"content":{"rendered":"<p>To save some typing you can create aliases to the servers you frequently access via ssh. This can be accomplished by either editing the global file ( \/etc\/ssh\/ssh_config ), if you&#8217;re root and and to make changes for all the users, or your own config file ( $HOME\/.ssh\/config ).<\/p>\n<p>Follow the example, and remember to customize to your needs<\/p>\n<pre class=\"brush:plain\">Host *\nCompression yes\nPort 22\nForwardAgent yes\n\nHost sample\nHostName host.sample_of_a_very_long_host_name.com\nUser joe\nForwardAgent yes\nPort 22\nCompression yes\n<\/pre>\n<p>Now you can ssh into that server using:<\/p>\n<p>ssh sample<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To save some typing you can create aliases to the servers you frequently access via ssh. This can be accomplished by either editing the global file ( \/etc\/ssh\/ssh_config ), if you&#8217;re root and and to make changes for all the users, or your own config file ( $HOME\/.ssh\/config ). Follow&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/blog.portnumber53.com\/index.php\/2011\/02\/16\/linux-ssh-configuration-file\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,14],"tags":[80,83,219,320],"class_list":["post-494","post","type-post","status-publish","format-standard","hentry","category-hosting","category-linux","tag-command-line","tag-config","tag-linux","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/comments?post=494"}],"version-history":[{"count":0,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/494\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/media?parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/categories?post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/tags?post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}