<?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: problems in scp with expect- in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problems-in-scp-with-expect/m-p/4064780#M64896</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'll try with &lt;BR /&gt;spawn "/usr/bin/scp" root@x.x.x.x:/tmp/logstatus .&lt;BR /&gt;instead of&lt;BR /&gt;spawn "/usr/bin/scp" "root@x.x.x.x:/tmp/logstatus ."&lt;BR /&gt;&lt;BR /&gt;for once, and&lt;BR /&gt;send "$my_password?\r"&lt;BR /&gt;instead of&lt;BR /&gt;send "$my_password?\n"&lt;BR /&gt;&lt;BR /&gt;Jean-Yves&lt;BR /&gt;points are welcome</description>
    <pubDate>Tue, 04 Sep 2007 04:21:41 GMT</pubDate>
    <dc:creator>Jean-Yves Picard</dc:creator>
    <dc:date>2007-09-04T04:21:41Z</dc:date>
    <item>
      <title>problems in scp with expect-</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problems-in-scp-with-expect/m-p/4064779#M64895</link>
      <description>Guys,&lt;BR /&gt;I really need help as quickly as i can get on this expect scipt.it is not working as of now.Pls do try with this ur local machine and tel me whts wrong and wht needs t be done.pls post me the script if possible.its really urgent.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/expect&lt;BR /&gt;&lt;BR /&gt;log_user 0&lt;BR /&gt;&lt;BR /&gt;set my_passphrase "passphrase"&lt;BR /&gt;set my_password   "xxxxx"&lt;BR /&gt;&lt;BR /&gt;spawn "/usr/bin/scp" "root@x.x.x.x:/tmp/logstatus ."&lt;BR /&gt;&lt;BR /&gt;while {1} {&lt;BR /&gt;  expect {&lt;BR /&gt;    "root@x.x.x.x's password:" {&lt;BR /&gt;      send "$my_password?\n"&lt;BR /&gt;     print "sending password";&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;  break&lt;BR /&gt;}&lt;BR /&gt;interact&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2007 01:58:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problems-in-scp-with-expect/m-p/4064779#M64895</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-09-04T01:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: problems in scp with expect-</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problems-in-scp-with-expect/m-p/4064780#M64896</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'll try with &lt;BR /&gt;spawn "/usr/bin/scp" root@x.x.x.x:/tmp/logstatus .&lt;BR /&gt;instead of&lt;BR /&gt;spawn "/usr/bin/scp" "root@x.x.x.x:/tmp/logstatus ."&lt;BR /&gt;&lt;BR /&gt;for once, and&lt;BR /&gt;send "$my_password?\r"&lt;BR /&gt;instead of&lt;BR /&gt;send "$my_password?\n"&lt;BR /&gt;&lt;BR /&gt;Jean-Yves&lt;BR /&gt;points are welcome</description>
      <pubDate>Tue, 04 Sep 2007 04:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problems-in-scp-with-expect/m-p/4064780#M64896</guid>
      <dc:creator>Jean-Yves Picard</dc:creator>
      <dc:date>2007-09-04T04:21:41Z</dc:date>
    </item>
  </channel>
</rss>

