<?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 ssh/scp Problem from one server and not the other in Secure OS Software for Linux</title>
    <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374553#M371</link>
    <description>I am running a script that works on all but one host.&lt;BR /&gt;Basiclly I "ssh $SERVER /Run/A/Script"&lt;BR /&gt;Then on $SERVER I "scp /results/of/script $HOST:/director"&lt;BR /&gt;Then back on the $HOST I do more things with the data.&lt;BR /&gt;Any way I get this error "You have no controlling tty.  Cannot read passphrase."&lt;BR /&gt;This error only happen from one of of the HP-UX 11.0 servers. I do not see any difference in settings /dev/tty rights.&lt;BR /&gt; I have no passphrase on any of the 4 servers involved. I have replaces the ssh key. Some thing is different on the one UNIX server.&lt;BR /&gt;So you do not get to confused here is what I am doing that dose not work.&lt;BR /&gt;From a UNIX(HP) server I am execute a command using ssh on a Linux server to see if MYSqlis up(mess of other stuff too)  it creates a file that is send back to the UNIX server that I can use to verify all is well and then process all the other stuff that works fine.&lt;BR /&gt;This all works fine from one UNIX server to any one of the Linux server. And fails form the other UNIX server.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;Marty&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Sep 2004 08:53:52 GMT</pubDate>
    <dc:creator>Marty Metras</dc:creator>
    <dc:date>2004-09-08T08:53:52Z</dc:date>
    <item>
      <title>ssh/scp Problem from one server and not the other</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374553#M371</link>
      <description>I am running a script that works on all but one host.&lt;BR /&gt;Basiclly I "ssh $SERVER /Run/A/Script"&lt;BR /&gt;Then on $SERVER I "scp /results/of/script $HOST:/director"&lt;BR /&gt;Then back on the $HOST I do more things with the data.&lt;BR /&gt;Any way I get this error "You have no controlling tty.  Cannot read passphrase."&lt;BR /&gt;This error only happen from one of of the HP-UX 11.0 servers. I do not see any difference in settings /dev/tty rights.&lt;BR /&gt; I have no passphrase on any of the 4 servers involved. I have replaces the ssh key. Some thing is different on the one UNIX server.&lt;BR /&gt;So you do not get to confused here is what I am doing that dose not work.&lt;BR /&gt;From a UNIX(HP) server I am execute a command using ssh on a Linux server to see if MYSqlis up(mess of other stuff too)  it creates a file that is send back to the UNIX server that I can use to verify all is well and then process all the other stuff that works fine.&lt;BR /&gt;This all works fine from one UNIX server to any one of the Linux server. And fails form the other UNIX server.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;Marty&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2004 08:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374553#M371</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-09-08T08:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/scp Problem from one server and not the other</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374554#M372</link>
      <description>Try the following,&lt;BR /&gt;&lt;BR /&gt;ssh $SERVER -t /Run/A/Script.&lt;BR /&gt;&lt;BR /&gt;"-t" enforces a tty for the ssh connection.&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 00:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374554#M372</guid>
      <dc:creator>Michael Selvesteen_2</dc:creator>
      <dc:date>2004-09-13T00:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/scp Problem from one server and not the other</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374555#M373</link>
      <description>Hello Marty Metras,&lt;BR /&gt;&lt;BR /&gt;Please check the permissions of /dev/tty. It should be "crw-rw-rw-" i.e.  0666. It nopt please reset the permissions on /dev/tty to mode 0666&lt;BR /&gt;&lt;BR /&gt;#chmod 0666 /dev/tty&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I thinks this may solve the problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 01:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374555#M373</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-13T01:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/scp Problem from one server and not the other</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374556#M374</link>
      <description>Senthil &lt;BR /&gt;I just checked and /dev/tty is set to 0666 (crw-rw-rw-)&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 08:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374556#M374</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-09-13T08:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/scp Problem from one server and not the other</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374557#M375</link>
      <description>All else failing to give me what I want to do I rewrote my script.&lt;BR /&gt;If I ssh to server B from A executing a script that creates some data. Then use scp from server A to scp the data from B back to A, it works fine between all 4 servers.&lt;BR /&gt;I was using ssh from server A to Execure a script on server B that would create the data and scp the data back to server A to save user interaction. It would fail with one pair of servers.&lt;BR /&gt;I know about using SSH and public key to encript with out password. I am using that elsewhere. In this case it will not work because of a couple reasons.&lt;BR /&gt;Many users must use this script and the one Server that has to be uses is Redhat 6.2 and it dose not play well with new versions of ssh. This server is out of our control to upgrade.&lt;BR /&gt;Rewriting the script putting the scp on other server is working fine so until I can get them to upgrade the Redhat 6.2 it will have to do.&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 15 Sep 2004 07:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-scp-problem-from-one-server-and-not-the-other/m-p/3374557#M375</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-09-15T07:42:38Z</dc:date>
    </item>
  </channel>
</rss>

