{"id":168,"date":"2012-12-12T21:39:33","date_gmt":"2012-12-13T05:39:33","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=168"},"modified":"2012-12-12T21:39:33","modified_gmt":"2012-12-13T05:39:33","slug":"ssh-and-scp-through-intermediate-host","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/ssh-and-scp-through-intermediate-host\/","title":{"rendered":"Ssh and Scp through intermediate host"},"content":{"rendered":"
Quick way to use ssh \/ scp through an intermediate host.<\/p>\n
~$ cat .ssh\/config\r\nHost rrhome\r\nUser\u00a0\u00a0 \u00a0rrosso\r\nHostName x.x.x.x\r\nProxyCommand\u00a0\u00a0 \u00a0ssh rrosso@dmzhostname nc %h %p 2> \/dev\/null\r\n\r\n~$ scp rrhome:\/ts\/hdpvrgrab\/output.ts .\/\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Quick way to use ssh \/ scp through an intermediate host. ~$ cat .ssh\/config Host rrhome User\u00a0\u00a0 \u00a0rrosso HostName x.x.x.x<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,21],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-linux","category-ssh"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}