{"id":746,"date":"2010-04-11T17:57:41","date_gmt":"2010-04-11T23:57:41","guid":{"rendered":"http:\/\/thesmithfam.org\/blog\/?p=746"},"modified":"2019-08-12T07:15:31","modified_gmt":"2019-08-12T13:15:31","slug":"using-scp-between-linux-and-mac-os-x","status":"publish","type":"post","link":"https:\/\/thesmithfam.org\/blog\/2010\/04\/11\/using-scp-between-linux-and-mac-os-x\/","title":{"rendered":"Using scp between Linux and Mac OS X"},"content":{"rendered":"<p>For a while, I haven&#8217;t been able to get <b>scp<\/b> to work between Linux and Mac OS X. This only happened when I used the <b>scp<\/b> command on my Linux box, with Mac OS X acting as the ssh server. Here&#8217;s the symptom:<\/p>\n<p>On Linux:<\/p>\n<p><b>$ scp user@192.168.1.5:~\/Documents\/Some\/File.txt \/tmp\/.<br \/>\nPassword:<br \/>\n$<\/b><\/p>\n<p>It disconnected me after entering my password without transferring the file. In the Gnome File Browser (nautilus), if I tried to connect to the Mac OS X box using <b>ssh:\/\/<\/b> in the address bar, the <b>gvfsd-sftp<\/b> process would consume 100% of the CPU until I killed it.<\/p>\n<p>Here&#8217;s the solution:<\/p>\n<p>On the Mac OS X computer, in my <b>~\/.bashrc<\/b> file, I was <b>echo<\/b>&#8216;ing some text just to say that my <b>.bashrc<\/b> had been sourced. Removing that <b>echo<\/b> line fixed the problem and now both the <b>scp<\/b> command and the Gnome File Browser work just fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a while, I haven&#8217;t been able to get scp to work between Linux and Mac OS X. This only happened when I used the scp command on my Linux box, with Mac OS X acting as the ssh server. Here&#8217;s the symptom: On Linux: $ scp user@192.168.1.5:~\/Documents\/Some\/File.txt \/tmp\/. Password: $ It disconnected me after [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-746","post","type-post","status-publish","format-standard","hentry","category-code-and-cruft"],"_links":{"self":[{"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/posts\/746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/comments?post=746"}],"version-history":[{"count":7,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/posts\/746\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/posts\/746\/revisions\/753"}],"wp:attachment":[{"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/media?parent=746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/categories?post=746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thesmithfam.org\/blog\/wp-json\/wp\/v2\/tags?post=746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}