<?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: FTP via SSH tunnel problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118855#M56671</link>
    <description>The "passive on" does not help. it just gives another error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sirba-jj) ftp localhost 2121&lt;BR /&gt;220 (vsFTPd 2.0.6)&lt;BR /&gt;Connected to LOCALHOST. &lt;BR /&gt;Name (LOCALHOST:joukj): &lt;BR /&gt;331 Please specify the password.&lt;BR /&gt;Password:&lt;BR /&gt;230 Login successful.&lt;BR /&gt;FTP&amp;gt; passive on&lt;BR /&gt;Passive is ON.&lt;BR /&gt;FTP&amp;gt; ls&lt;BR /&gt;227 Entering Passive Mode (10,112,0,10,170,24).&lt;BR /&gt;%TCPIP-E-FTP_DATACONF, cannot establish data connection with remote host&lt;BR /&gt;-SYSTEM-F-REJECT, connect to network object rejected&lt;BR /&gt;FTP&amp;gt; &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jul 2008 08:56:25 GMT</pubDate>
    <dc:creator>Jansen_8</dc:creator>
    <dc:date>2008-07-11T08:56:25Z</dc:date>
    <item>
      <title>FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118853#M56669</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to setup a FTP session via a SSH-tunnel. I do exactly the same from a linux client and a VMS client (same commands same servers etc..). However the linux client works where the VMS client fails.&lt;BR /&gt;&lt;BR /&gt;My system : OpenVMS Alpha 8.3&lt;BR /&gt;            TCPIP services 5.6 ECO 2&lt;BR /&gt;I have both TCPIP$FTP_ALLOW_ADDR_REDIRECT and TCPIP$FTP_ALLOW_PORT_REDIRECT defined to 1 in the system table. and resterted the FTP-client after that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Set up the tunnel :&lt;BR /&gt; $ ssh -L 2121:10.112.0.10:21 tunnel-server&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Making connection :&lt;BR /&gt;sirba-jj) ftp localhost 2121&lt;BR /&gt;220 (vsFTPd 2.0.6)&lt;BR /&gt;Connected to LOCALHOST. &lt;BR /&gt;Name (LOCALHOST:joukj): &lt;BR /&gt;331 Please specify the password.&lt;BR /&gt;Password: &lt;BR /&gt;230 Login successful.&lt;BR /&gt;FTP&amp;gt; cd electron/elstru&lt;BR /&gt;250 Directory successfully changed.&lt;BR /&gt;FTP&amp;gt; ls&lt;BR /&gt;500 Illegal PORT command.&lt;BR /&gt;FTP&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So it seems that the connection is made. The cd command works fine (as does pwd) but ls (and ie. get) give the error message.&lt;BR /&gt;Note that the same from a linux client works fine.&lt;BR /&gt;&lt;BR /&gt;tunnel-server and 10.112.0.10 are both linux machines.&lt;BR /&gt;&lt;BR /&gt;Can anybody give me any suggestions what may be wrong?&lt;BR /&gt;&lt;BR /&gt;    Thanks&lt;BR /&gt;        Jouk&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118853#M56669</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2008-07-11T07:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118854#M56670</link>
      <description>Jouk,&lt;BR /&gt;&lt;BR /&gt;before using "ls" or other commands, try&lt;BR /&gt;"passive on"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 11 Jul 2008 08:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118854#M56670</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2008-07-11T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118855#M56671</link>
      <description>The "passive on" does not help. it just gives another error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sirba-jj) ftp localhost 2121&lt;BR /&gt;220 (vsFTPd 2.0.6)&lt;BR /&gt;Connected to LOCALHOST. &lt;BR /&gt;Name (LOCALHOST:joukj): &lt;BR /&gt;331 Please specify the password.&lt;BR /&gt;Password:&lt;BR /&gt;230 Login successful.&lt;BR /&gt;FTP&amp;gt; passive on&lt;BR /&gt;Passive is ON.&lt;BR /&gt;FTP&amp;gt; ls&lt;BR /&gt;227 Entering Passive Mode (10,112,0,10,170,24).&lt;BR /&gt;%TCPIP-E-FTP_DATACONF, cannot establish data connection with remote host&lt;BR /&gt;-SYSTEM-F-REJECT, connect to network object rejected&lt;BR /&gt;FTP&amp;gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jul 2008 08:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118855#M56671</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2008-07-11T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118856#M56672</link>
      <description>In order to successfully tunnel an FTP session over SSH it is necessary for SSH to recognize the PORT and PASV commands and their responses and make the necessary substitutions just as a NAT device would.  It is possible that the Linux SSH code is built with such code and that the TCP/IP Services code is not.&lt;BR /&gt;&lt;BR /&gt;Process Software's SSH software is built with code to recognize FTP tunnels and it generally works better in PASV mode than PORT mode.</description>
      <pubDate>Fri, 11 Jul 2008 09:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118856#M56672</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2008-07-11T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118857#M56673</link>
      <description>I found the solution:&lt;BR /&gt;&lt;BR /&gt;You do not need the TCPIP$FTP_ALLOW_ADDR_REDIRECT &amp;amp; TCPIP$FTP_ALLOW_PORT_REDIRECT logicals&lt;BR /&gt;&lt;BR /&gt;The tunnel has to be set up in a slightly different way:&lt;BR /&gt;ssh -"L" ftp/2121:10.112.0.10:21 tunnel-server&lt;BR /&gt;&lt;BR /&gt;passive mode is essential&lt;BR /&gt;&lt;BR /&gt;          Jouk</description>
      <pubDate>Fri, 11 Jul 2008 09:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118857#M56673</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2008-07-11T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: FTP via SSH tunnel problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118858#M56674</link>
      <description>solved&lt;BR /&gt;  thanks for all who replied</description>
      <pubDate>Fri, 11 Jul 2008 09:38:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-via-ssh-tunnel-problem/m-p/5118858#M56674</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2008-07-11T09:38:33Z</dc:date>
    </item>
  </channel>
</rss>

