<?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: SFTP without applying password in script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378089#M348207</link>
    <description>&lt;!--!*#--&gt;&amp;gt; It appears from the message that SSH may be&lt;BR /&gt;&amp;gt; installed, but the sshd daemon is not&lt;BR /&gt;&amp;gt; running.&lt;BR /&gt;&lt;BR /&gt;Not to me.  If sshd were not running (or&lt;BR /&gt;configured to run), I'd expect a "Connection&lt;BR /&gt;refused" complaint, not "Connection timed&lt;BR /&gt;out".  I'd look for a firewall which might be&lt;BR /&gt;blocking the SSH traffic in one direction.&lt;BR /&gt;&lt;BR /&gt;Is SSH the only service which fails this way?</description>
    <pubDate>Thu, 12 Mar 2009 19:53:26 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-03-12T19:53:26Z</dc:date>
    <item>
      <title>SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378084#M348202</link>
      <description>&lt;!--!*#--&gt;How to sftp from ssh server to client server?&lt;BR /&gt;How to create sftp?&lt;BR /&gt;How to automate in script for sftp without password?&lt;BR /&gt;&lt;BR /&gt;If i create script to pull the file means its asking password. &lt;BR /&gt;&lt;BR /&gt;I have installed HPUX secure shell in both servers.&lt;BR /&gt;&lt;BR /&gt;  T1471AA                               A.05.10.006    HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;Please help and suggest me how to proceed further.</description>
      <pubDate>Thu, 12 Mar 2009 17:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378084#M348202</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-12T17:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378085#M348203</link>
      <description>learn about ssh-keygen. And you have HP secure shell (openssh), so you have sftp.</description>
      <pubDate>Thu, 12 Mar 2009 17:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378085#M348203</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2009-03-12T17:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378086#M348204</link>
      <description>&lt;!--!*#--&gt;Yes, after installing in secure shell in ssh server i have sftp. but its getting timed out.&lt;BR /&gt;&lt;BR /&gt;Please find the below output:&lt;BR /&gt;&lt;BR /&gt;ssh01# sftp client01&lt;BR /&gt;Connecting to client01...&lt;BR /&gt;ssh: connect to host client01 port 22: Connection timed out&lt;BR /&gt;Connection closed&lt;BR /&gt;&lt;BR /&gt;             and&lt;BR /&gt;&lt;BR /&gt; but when i connect in client server to ssh server it got connected.&lt;BR /&gt;&lt;BR /&gt;client01# sftp ssh01&lt;BR /&gt;Connecting to ssh01...&lt;BR /&gt;Password:&lt;BR /&gt;sftp&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here ssh01 -&amp;gt; ssh server&lt;BR /&gt;     client01 -&amp;gt; client server&lt;BR /&gt;&lt;BR /&gt;please suggest me&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Mar 2009 18:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378086#M348204</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-12T18:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378087#M348205</link>
      <description>Are you sure the SSH daemon is running on the client01 machine?&lt;BR /&gt;&lt;BR /&gt;It appears from the message that SSH may be installed, but the sshd daemon is not running.</description>
      <pubDate>Thu, 12 Mar 2009 18:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378087#M348205</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-03-12T18:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378088#M348206</link>
      <description>What OS is on client01?</description>
      <pubDate>Thu, 12 Mar 2009 18:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378088#M348206</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2009-03-12T18:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378089#M348207</link>
      <description>&lt;!--!*#--&gt;&amp;gt; It appears from the message that SSH may be&lt;BR /&gt;&amp;gt; installed, but the sshd daemon is not&lt;BR /&gt;&amp;gt; running.&lt;BR /&gt;&lt;BR /&gt;Not to me.  If sshd were not running (or&lt;BR /&gt;configured to run), I'd expect a "Connection&lt;BR /&gt;refused" complaint, not "Connection timed&lt;BR /&gt;out".  I'd look for a firewall which might be&lt;BR /&gt;blocking the SSH traffic in one direction.&lt;BR /&gt;&lt;BR /&gt;Is SSH the only service which fails this way?</description>
      <pubDate>Thu, 12 Mar 2009 19:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378089#M348207</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-03-12T19:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378090#M348208</link>
      <description>Client server:&lt;BR /&gt;&lt;BR /&gt;client01# uname -a&lt;BR /&gt;HP-UX client01 B.11.11 U 9000/800 104424606 unlimited-user license&lt;BR /&gt;client01# model&lt;BR /&gt;9000/800/L3000-5x&lt;BR /&gt;&lt;BR /&gt;client01# ps -ef| grep -i sshd&lt;BR /&gt;    root  8019  7843  1 07:46:02 pts/0     0:00 grep -i sshd&lt;BR /&gt;    root 16714     1  0  Mar 10  ?         0:19 /opt/ssh/sbin/sshd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ssh server:&lt;BR /&gt;&lt;BR /&gt;ssh01# uname -a&lt;BR /&gt;HP-UX ssh01 B.11.11 U 9000/800 355204990 unlimited-user license&lt;BR /&gt;ssh01# model&lt;BR /&gt;9000/800/rp3440&lt;BR /&gt;&lt;BR /&gt;ssh01# ps -ef| grep -i sshd&lt;BR /&gt;    root  2505     1  0 13:20:32 ?         0:06 /opt/ssh/sbin/sshd&lt;BR /&gt;    root 11791 11553  0 07:41:40 pts/0     0:00 grep -i sshd&lt;BR /&gt;    root 11540  2505  0 07:25:28 ?         0:00 sshd: aiyadura [priv]&lt;BR /&gt;aiyadura 11543 11540  0 07:25:35 ?         0:00 sshd: aiyadura@pts/0</description>
      <pubDate>Fri, 13 Mar 2009 11:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378090#M348208</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-13T11:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378091#M348209</link>
      <description>Instead of sftp you can use scp to transfer files between the two systems&lt;BR /&gt;&lt;BR /&gt;scp /tmp/a.txt aruna@targetmachine:/tmp&lt;BR /&gt;&lt;BR /&gt;if you are looking to transfer files without a password check &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://saikrishbe.wordpress.com/2007/01/19/remote-login-without-password/" target="_blank"&gt;http://saikrishbe.wordpress.com/2007/01/19/remote-login-without-password/&lt;/A&gt;</description>
      <pubDate>Fri, 13 Mar 2009 11:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378091#M348209</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-13T11:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378092#M348210</link>
      <description>Hi Arunanath,&lt;BR /&gt;&lt;BR /&gt;If sshd daemon is running on client01, then you should be able to sftp. &lt;BR /&gt;&lt;BR /&gt;Just restart the sshd daemon on client01 and try from ssh01.&lt;BR /&gt;&lt;BR /&gt;#/sbin/init.d/secsh stop&lt;BR /&gt;#/sbin/init.d/secsh start&lt;BR /&gt;&lt;BR /&gt;After restarting sshd, try this on client01 to confirm ssh port 22 is listening&lt;BR /&gt;&lt;BR /&gt;client01#telnet localhost 22&lt;BR /&gt;client01#ssh localhost 22&lt;BR /&gt;&lt;BR /&gt;If this works then you should be able to sftp to the server.&lt;BR /&gt;&lt;BR /&gt;Creating a script to pull the files without password is next task which can be easily done by configuring passwordless login.&lt;BR /&gt;&lt;BR /&gt;First fix the sftp issue.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Mar 2009 11:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378092#M348210</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-13T11:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378093#M348211</link>
      <description>When i try scp also in ssh server to client server also its not working,&lt;BR /&gt;&lt;BR /&gt;ssh01# scp /tmp/test client01:/tmp/&lt;BR /&gt;ssh: connect to host client01 port 22: Connection timed out&lt;BR /&gt;lost connection&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Mar 2009 11:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378093#M348211</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-13T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378094#M348212</link>
      <description>Might be some firewall is blocking the connection, check /etc/hosts.allow</description>
      <pubDate>Fri, 13 Mar 2009 11:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378094#M348212</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-13T11:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378095#M348213</link>
      <description>Hi Arunannth,&lt;BR /&gt;&lt;BR /&gt;Is there any firewall in between ssh01 and client01? I strongly suspect there is afirewall which is blocking the connection from ssh01 to client01. &lt;BR /&gt;&lt;BR /&gt;In that case you need to open the firwall port 22 for ssh01 to client01.&lt;BR /&gt;&lt;BR /&gt;You check with your network team.</description>
      <pubDate>Fri, 13 Mar 2009 11:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378095#M348213</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-13T11:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378096#M348214</link>
      <description>He,&lt;BR /&gt;&lt;BR /&gt;node1 and node2:&lt;BR /&gt;&lt;BR /&gt;#grep -i sftp /etc/opt/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;Subsystem sftp    /opt/ssh/libexec/sftp-server -f LOCAL1 -l INFO&lt;BR /&gt;&lt;BR /&gt;node1#&lt;BR /&gt;&lt;BR /&gt;sftp mode2&amp;lt;&amp;lt; EOF&lt;BR /&gt;pwd&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Connecting to node2...&lt;BR /&gt;sftp&amp;gt; pwd&lt;BR /&gt;Remote working directory: /root&lt;BR /&gt;sftp&amp;gt; quit&lt;BR /&gt;&lt;BR /&gt;No password "prompt".&lt;BR /&gt;rgs,</description>
      <pubDate>Fri, 13 Mar 2009 12:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378096#M348214</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2009-03-13T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378097#M348215</link>
      <description>Hi Ganesh,&lt;BR /&gt;&lt;BR /&gt;As per your information i have tried the below following.&lt;BR /&gt;&lt;BR /&gt;1. restarted sshd in client01&lt;BR /&gt;&lt;BR /&gt;cd /sbin/init.d/secsh stop and start&lt;BR /&gt;&lt;BR /&gt;2. in ssh01 i have tried &lt;BR /&gt;&lt;BR /&gt;ssh01# sftp client01&lt;BR /&gt;Connecting to client01...&lt;BR /&gt;ssh: connect to host client01 port 22: Connection timed out&lt;BR /&gt;Connection closed&lt;BR /&gt;&lt;BR /&gt;3. in client01 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;client01#  telnet localhost 22&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to localhost.armstrong.com.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;SSH-1.99-OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;client01#ssh localhost 22&lt;BR /&gt;Password:&lt;BR /&gt;sh: 22:  not found.&lt;BR /&gt;&lt;BR /&gt;Please suggest me &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Mar 2009 12:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378097#M348215</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-13T12:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378098#M348216</link>
      <description>You would just ssh to localhost&lt;BR /&gt;&lt;BR /&gt;ssh localhost&lt;BR /&gt;&lt;BR /&gt;ssh localhost 22 will try to run the command 22. But being that it returned the error that 22 is not found, I would say that it is working locally.&lt;BR /&gt;&lt;BR /&gt;You might try installing nmap on the machine to see if there is a firewall blocking the port. At this point I would assume there is.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/nmap-4.76/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/nmap-4.76/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE: you are more that likely going to need to install the dependencies for nmap.</description>
      <pubDate>Fri, 13 Mar 2009 12:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378098#M348216</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2009-03-13T12:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378099#M348217</link>
      <description>Hi Arunananth,&lt;BR /&gt;&lt;BR /&gt;Have you checked with your network/firewall team? &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;client01# telnet localhost 22&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to localhost.armstrong.com.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;SSH-1.99-OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;This says sshd is running on client01. The most suspect thing is firewall. You need to ask the firewall team to open the port between these two servers.</description>
      <pubDate>Fri, 13 Mar 2009 12:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378099#M348217</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-13T12:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378100#M348218</link>
      <description>I have reported to firewall team.</description>
      <pubDate>Fri, 13 Mar 2009 15:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378100#M348218</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-13T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378101#M348219</link>
      <description>For sftp I generally have ports 22 -and- port 115 open.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;...The suggestion to use scp might help you, once your keys are properly in place on both sides, you should only have to put in the password the first time.  After that it won't ask for it.....</description>
      <pubDate>Fri, 13 Mar 2009 15:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378101#M348219</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2009-03-13T15:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378102#M348220</link>
      <description>As per Network team there is no block in firewall and the ports are open.&lt;BR /&gt;&lt;BR /&gt;Kindly suggest me to proceed further</description>
      <pubDate>Wed, 18 Mar 2009 10:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378102#M348220</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-18T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP without applying password in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378103#M348221</link>
      <description>scp also not working from ssh server to client server.</description>
      <pubDate>Wed, 18 Mar 2009 10:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-applying-password-in-script/m-p/4378103#M348221</guid>
      <dc:creator>Arunananth</dc:creator>
      <dc:date>2009-03-18T10:49:30Z</dc:date>
    </item>
  </channel>
</rss>

