<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SCP and SSH-Agent on SuSE8.1 in Secure OS Software for Linux</title>
    <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968333#M190</link>
    <description>You have no controlling tty. Cannot read passphrase.&lt;BR /&gt;&lt;BR /&gt;Thats key.  Is the TERM variable set in .bash_profile an .xsession ? &lt;BR /&gt;&lt;BR /&gt;stty -a output should do the same.&lt;BR /&gt;&lt;BR /&gt;This should work. ssh and scp are part of the same tool set.&lt;BR /&gt;&lt;BR /&gt;You might want to try reinstalling the package on the client giving you the trouble. Also, make sure you get any updates or security fixes in.&lt;BR /&gt;&lt;BR /&gt;Head scratcher here, please post resolution so at least I can learn from this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 08 May 2003 13:12:10 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-05-08T13:12:10Z</dc:date>
    <item>
      <title>SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968330#M187</link>
      <description>Hi,&lt;BR /&gt;I have a problem here on a SuSE8.1 box to get scp to work.&lt;BR /&gt;I need to use ssh/scp frequently for shell access and file transfer over a firewall. The ssh version used is OpenSSH_3.4p1. &lt;BR /&gt;The setup is thus: Usually a ssh connection is opened with a command similar to "ssh -t &lt;FIREWALL-LOGIN&gt;@&lt;FIREWALL&gt; ssh login@machine". The -t option is necessary because the firewall does not allocate a tty. We have ssh-agents running as well which are called from .xsession at login time on the SuSE box. &lt;BR /&gt;Here is the problem: When I login to the SuSE box, ssh-agent reads my passphrase and I can ssh to any system through the firewall without problems. But copying files using scp does not work. The error is: "Need passphrase for &lt;USERNAME&gt;. You have no controlling tty. Cannot read passphrase." It seems that scp does not pick up the running ssh-agent, but insists in reading the passphrase again when connecting from the firewall to the target system.  "ForwardAgent" is set to "Yes" in ssh_conf. What am I missing? It used to work on a RedHat6.0 box before...&lt;BR /&gt;&lt;BR /&gt;BTW: The scp command used is "scp &lt;FILENAME&gt; &lt;FIREWALLUSER&gt;@&lt;FIREWALL&gt;:&lt;USER&gt;@&lt;TARGET_MACHINE&gt;:"&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;Mick&lt;/TARGET_MACHINE&gt;&lt;/USER&gt;&lt;/FIREWALL&gt;&lt;/FIREWALLUSER&gt;&lt;/FILENAME&gt;&lt;/USERNAME&gt;&lt;/FIREWALL&gt;&lt;/FIREWALL-LOGIN&gt;</description>
      <pubDate>Thu, 08 May 2003 09:39:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968330#M187</guid>
      <dc:creator>Michael Armbrecht</dc:creator>
      <dc:date>2003-05-08T09:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968331#M188</link>
      <description>I have used this doc on red hat to deal with these issues.&lt;BR /&gt;&lt;BR /&gt;Though originally authored for HP-UX, it works, even in a mixed environment.&lt;BR /&gt;&lt;BR /&gt;I think exchanging public keys will solve this problem.  This assumes your firewall is stateless and doesn't block port 22.&lt;BR /&gt;&lt;BR /&gt;Attached.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 08 May 2003 12:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968331#M188</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-08T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968332#M189</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;my public keys are on all remote machines I am connecting to, and connecting with ssh works perfectly. Only scp does not work.&lt;BR /&gt;&lt;BR /&gt;The firewall is actually not a "real" firewall, but an ssh relay, I probably should have said that. So port blocking is not an issue.&lt;BR /&gt;&lt;BR /&gt;As I said before, I have exactly the same setup on a RedHat 6.0 box, and there scp works for some reason.  The differences are the SSH version (SSH Version OpenSSH_2.3.0p1 on RedHat) and  the ssh agent is called from the .bash_profile instead of .xsession.</description>
      <pubDate>Thu, 08 May 2003 12:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968332#M189</guid>
      <dc:creator>Michael Armbrecht</dc:creator>
      <dc:date>2003-05-08T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968333#M190</link>
      <description>You have no controlling tty. Cannot read passphrase.&lt;BR /&gt;&lt;BR /&gt;Thats key.  Is the TERM variable set in .bash_profile an .xsession ? &lt;BR /&gt;&lt;BR /&gt;stty -a output should do the same.&lt;BR /&gt;&lt;BR /&gt;This should work. ssh and scp are part of the same tool set.&lt;BR /&gt;&lt;BR /&gt;You might want to try reinstalling the package on the client giving you the trouble. Also, make sure you get any updates or security fixes in.&lt;BR /&gt;&lt;BR /&gt;Head scratcher here, please post resolution so at least I can learn from this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 08 May 2003 13:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968333#M190</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-08T13:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968334#M191</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You have no controlling tty. Cannot read passphrase&lt;BR /&gt;&amp;gt; Thats key. Is the TERM variable set in .bash_profile an .xsession ? &lt;BR /&gt;&lt;BR /&gt;The problem is that this error message is sent from the ssh relay, not from my local host. $TERM is set to xterm. But on the relay I don't have a tty, that's why I need to use the "-t" option when using ssh.&lt;BR /&gt;&lt;BR /&gt;I have submitted this as a bug to the OpenSSH developers:&lt;BR /&gt;&lt;A href="http://bugzilla.mindrot.org/show_bug.cgi?id=557" target="_blank"&gt;http://bugzilla.mindrot.org/show_bug.cgi?id=557&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Straight answer I got was to submit a debug trace and upgrade to version 3.6.1, which I will have a look at.&lt;BR /&gt;&lt;BR /&gt;I'll keep you posted.&lt;BR /&gt;&lt;BR /&gt;Mick</description>
      <pubDate>Fri, 09 May 2003 07:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968334#M191</guid>
      <dc:creator>Michael Armbrecht</dc:creator>
      <dc:date>2003-05-09T07:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968335#M192</link>
      <description>FYI - This has been "solved".&lt;BR /&gt;&lt;BR /&gt;The solution was to remove these two lines from the source file "scp.c":&lt;BR /&gt;&lt;BR /&gt;addargs(&amp;amp;args, "-oForwardAgent no");&lt;BR /&gt;addargs(&amp;amp;args, "-oClearAllForwardings yes");&lt;BR /&gt;&lt;BR /&gt;Now it is working. I am still wondering why the options were preset like this in the code, like this scp can't work with a ssh relay that doesn't allocate ttys.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;  Mick</description>
      <pubDate>Fri, 30 May 2003 12:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968335#M192</guid>
      <dc:creator>Michael Armbrecht</dc:creator>
      <dc:date>2003-05-30T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: SCP and SSH-Agent on SuSE8.1</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968336#M193</link>
      <description>I wonder if this is an issue with HP's depot version of the tools.&lt;BR /&gt;&lt;BR /&gt;Thanks for posting your solution.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 30 May 2003 13:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/scp-and-ssh-agent-on-suse8-1/m-p/2968336#M193</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-30T13:33:32Z</dc:date>
    </item>
  </channel>
</rss>

