{"id":889,"date":"2010-02-09T22:32:25","date_gmt":"2010-02-09T21:32:25","guid":{"rendered":"http:\/\/www.bdjl.de\/localhost\/?p=889"},"modified":"2010-02-09T22:32:25","modified_gmt":"2010-02-09T21:32:25","slug":"ssh-aber-ohne-scp","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=889","title":{"rendered":"ssh &#8211; aber ohne scp"},"content":{"rendered":"<p>Die \u00dcberschrift beschreibt das Problem, das ich heute mit einem Debian Lenny Server meiner Schule hatte ziemlich genau: SSH Verbindungen gingen ohne Probleme, aber SCP ging \u00fcberhaupt nicht.<\/p>\n<p>Das Problem mit SCP ist, dass es sich leicht verwirren l\u00e4sst. Beinhaltet die .bashrc (oder andere Initialisierungsskripte) irgend welche &#8222;Dinge&#8220;, die SCP aus dem Tritt bringen, dann geht nix mehr, der Prozess bleibt stehen und aus den Fehlermeldungen wird man auch nicht schlauer.<\/p>\n<p>Der entscheidende Hinwesie war hier: <a title=\"openssh\" href=\"http:\/\/www.openssh.org\/faq.html#2.9\" target=\"_blank\">http:\/\/www.openssh.org\/faq.html#2.9<\/a><\/p>\n<blockquote><p>sftp and\/or scp may fail at connection time if you have shell  initialization (.profile, .bashrc, .cshrc, etc) which produces output  for non-interactive sessions. This output confuses the sftp\/scp client.<\/p><\/blockquote>\n<p>Die &#8222;L\u00f6sung&#8220; war demnach erst einmal schlicht die .bashrc weg zu schieben.<\/p>\n<p>Was genau nun in meiner bashrc dazu f\u00fchrte, dass SCP auf die Nase fiel, wei\u00df ich noch nicht. Aber ab jetzt ist das Versuch und Irrtum.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die \u00dcberschrift beschreibt das Problem, das ich heute mit einem Debian Lenny Server meiner Schule hatte ziemlich genau: SSH Verbindungen gingen ohne Probleme, aber SCP ging \u00fcberhaupt nicht. Das Problem mit SCP ist, dass es sich leicht verwirren l\u00e4sst. Beinhaltet die .bashrc (oder andere Initialisierungsskripte) irgend welche &#8222;Dinge&#8220;, die SCP aus dem Tritt bringen, dann [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,10],"tags":[],"class_list":["post-889","post","type-post","status-publish","format-standard","hentry","category-linux","category-schule"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=889"}],"version-history":[{"count":2,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/889\/revisions"}],"predecessor-version":[{"id":891,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/889\/revisions\/891"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}