<?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: ssh/sftp between VMS and linux without password? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680727#M53976</link>
    <description>Did you ever find out how to do this? I can't get it to work!!!!!</description>
    <pubDate>Tue, 27 Feb 2007 19:31:52 GMT</pubDate>
    <dc:creator>Fred Sittler</dc:creator>
    <dc:date>2007-02-27T19:31:52Z</dc:date>
    <item>
      <title>ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680721#M53970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to get ssh/sftp working between VMS and linux without needing a password.  I'm not having any luck yet... It works fine VMS2VMS and linux2linux, but not between VMS and linux.  I've tried converting the keys and following the directions in a couple of articles...but I always get prompted for the password.  This is VMS alpha 8.2/tcpip 5.5 eco1, and RedHat Linux EL PW update 2.  All recent stuff...  Has anyone actually done this?  &lt;BR /&gt;&lt;BR /&gt;   -Randy</description>
      <pubDate>Tue, 29 Nov 2005 07:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680721#M53970</guid>
      <dc:creator>Randy Nelson_2</dc:creator>
      <dc:date>2005-11-29T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680722#M53971</link>
      <description>"Between" in which direction?&lt;BR /&gt;&lt;BR /&gt;Not Linux, but VMS to Solaris:&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;alp $ ssh ung&lt;BR /&gt;Authentication successful.&lt;BR /&gt;Last login: Tue Nov 29 08:22:12 2005 from alp&lt;BR /&gt;Sun Microsystems Inc.   SunOS 5.9       Generic May 2002&lt;BR /&gt;   DISPLAY = "alp:0.0".&lt;BR /&gt;ung% uname -a&lt;BR /&gt;SunOS ung 5.9 Generic_118558-17 sun4u sparc SUNW,Ultra-1&lt;BR /&gt;ung% lo&lt;BR /&gt;&lt;BR /&gt;Connection to ung closed.&lt;BR /&gt;[Extra &lt;RETURN&gt; needed here.]&lt;BR /&gt;alp $&lt;BR /&gt;&lt;BR /&gt;Of course, I set this up a while ago, and&lt;BR /&gt;have no idea if I did anything exotic to get&lt;BR /&gt;to this point.  And I never go the other way,&lt;BR /&gt;so I don't know if that works.&lt;BR /&gt;&lt;BR /&gt;~sms/.ssh/authorized_keys on "ung" has fully&lt;BR /&gt;qualified names ("sms@alp.antinode.org").&lt;BR /&gt;&lt;BR /&gt;There should be some hint-filled log files&lt;BR /&gt;somewhere.&lt;/RETURN&gt;</description>
      <pubDate>Tue, 29 Nov 2005 09:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680722#M53971</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2005-11-29T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680723#M53972</link>
      <description>Randy,&lt;BR /&gt;&lt;BR /&gt;Try in batch mode. because SSH in VMS stores UN and PWD in a text file. Some of the SSH comes with emulator, requires UN/PWD in the interactive mode.&lt;BR /&gt;&lt;BR /&gt;But process software's SSH for OpenVMS (if you have), You can run normal VMS batch job containing the SCP commands in SSH batch mode to copy the files.&lt;BR /&gt;&lt;BR /&gt;$ ssh -t -o "BatchMode yes" username@10.1.2.57 "ComProcedure parameter"&lt;BR /&gt;&lt;BR /&gt;Archunan</description>
      <pubDate>Wed, 30 Nov 2005 14:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680723#M53972</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2005-11-30T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680724#M53973</link>
      <description>Have you tried your SSH command with -v ?&lt;BR /&gt;This will put it in verbose mode and give you debugging messages about what is being done.  You want to see if it is attempting public key authentication.  If it attempts public key authentication and reports a failure status, then you made an error when you transferred the public key from the VMS system to the Linux system.</description>
      <pubDate>Thu, 01 Dec 2005 09:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680724#M53973</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2005-12-01T09:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680725#M53974</link>
      <description>I've done SSH mit publickey Authentication between Linux SUSE 9.1 and OpenVMS V7.3-2. TCPIP V5.4-ECO5 The thing I didn't realize initally was the need to convert the keys as the formats aren't the same on the two systems. But from what you wrote you seem to have overcome this hurdle. Then I would basically ensure that my Linux server (?) config file was adapted to write log messages and then using -vv qualifier on the client side get a debug log of what is happening.&lt;BR /&gt;&lt;BR /&gt;Maybe you can post the results as an attachment, if you're still having problems.&lt;BR /&gt;&lt;BR /&gt;I assume you have set the Linux SSH parameter &lt;BR /&gt;PreferredAuthentications publickey,password&lt;BR /&gt;accordingly.&lt;BR /&gt;&lt;BR /&gt;-john</description>
      <pubDate>Wed, 29 Mar 2006 09:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680725#M53974</guid>
      <dc:creator>john Dite</dc:creator>
      <dc:date>2006-03-29T09:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680726#M53975</link>
      <description>Randy&lt;BR /&gt;With my configuration:&lt;BR /&gt;&lt;BR /&gt;HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5&lt;BR /&gt;  on a AlphaServer GS160 6/731 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;I am using this command:&lt;BR /&gt;$set noon&lt;BR /&gt;$sftp -"B" - user@remote_node&lt;BR /&gt;cd /test&lt;BR /&gt;get test.dat&lt;BR /&gt;exit&lt;BR /&gt;$exit&lt;BR /&gt;&lt;BR /&gt;and works fine in INTERACTIVE, BATCH and DETACH modes.&lt;BR /&gt;&lt;BR /&gt;Saludos.&lt;BR /&gt;Daniel.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 02:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680726#M53975</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2006-03-30T02:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680727#M53976</link>
      <description>Did you ever find out how to do this? I can't get it to work!!!!!</description>
      <pubDate>Tue, 27 Feb 2007 19:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680727#M53976</guid>
      <dc:creator>Fred Sittler</dc:creator>
      <dc:date>2007-02-27T19:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680728#M53977</link>
      <description>Fred Sittler:&lt;BR /&gt;&lt;BR /&gt;Unless your situation is identical to that of&lt;BR /&gt;the original complainer here, it would make&lt;BR /&gt;more sense to start a new thread, perhaps&lt;BR /&gt;including a reference to this one.&lt;BR /&gt;&lt;BR /&gt;And, referring to this one:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Have you tried your SSH command with -v ?&lt;BR /&gt;&lt;BR /&gt;As usual, it might help to have version info,&lt;BR /&gt;actual commands used, actual responses to&lt;BR /&gt;those commands, and so on.  A description&lt;BR /&gt;like "can't get it to work" is not likely to&lt;BR /&gt;lead anywhere by itself.</description>
      <pubDate>Tue, 27 Feb 2007 19:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680728#M53977</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-27T19:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680729#M53978</link>
      <description>&lt;!--!*#--&gt;Hi again...&lt;BR /&gt;&lt;BR /&gt;I'm the "original complainer"?  COMPLAINER?&lt;BR /&gt;&lt;BR /&gt;Well, I never... :-)&lt;BR /&gt;&lt;BR /&gt;SSH and sftp without passwords.&lt;BR /&gt;&lt;BR /&gt;Tested with  VMS 8.2 with tcpip 5.5 eco1 and RedHat EL WS 4 update 2.&lt;BR /&gt;&lt;BR /&gt;Scenario ONE.  Linux to VMS with no password&lt;BR /&gt;&lt;BR /&gt;1. On the linux box&lt;BR /&gt;&lt;BR /&gt;   a. ssh-keygen -e -f /home/nelsonr/.ssh/id_dsa.pub &amp;gt; linuxnode.fullhost.pub&lt;BR /&gt;   b. ftp to VMS&lt;BR /&gt;   c. set to ascii mode&lt;BR /&gt;   d. put the file (replacing dots with underscores) i.e.&lt;BR /&gt;      put linuxnode.fullhost.pub linuxnode_fullhost.pub&lt;BR /&gt;&lt;BR /&gt;2. On the VMS box&lt;BR /&gt;&lt;BR /&gt;   a. set def to [.ssh] directory&lt;BR /&gt;   b. edit the authorization. file adding a key statement&lt;BR /&gt;      key linuxnode_fullhost.pub&lt;BR /&gt;&lt;BR /&gt;3. You should now be able to ssh from linux to VMS without a password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Scenario TWO. VMS to Linux with no password&lt;BR /&gt;&lt;BR /&gt;1. On the VMS box&lt;BR /&gt;   &lt;BR /&gt;   a. netme (@sys$manager:tcpip$define_commands)&lt;BR /&gt;   b. set def sys$Login&lt;BR /&gt;   c. ssh_keygen [.ssh2]keyname&lt;BR /&gt;   d. This creates two files in [.ssh2] One called keyname. and one called keyname.pub&lt;BR /&gt;   e. Add keyname.pub to the IDENTIFICATION. file&lt;BR /&gt;      IdKey keyname&lt;BR /&gt;&lt;BR /&gt;2. On the linux box&lt;BR /&gt;   a. ftp (ascii) the file over to the .ssh directory&lt;BR /&gt;   b. Import the new key into the authorized_keys file&lt;BR /&gt;      ssh-keygen -i -f keyname.pub &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;&lt;BR /&gt;   -Randy</description>
      <pubDate>Wed, 28 Feb 2007 07:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680729#M53978</guid>
      <dc:creator>Randy Nelson_2</dc:creator>
      <dc:date>2007-02-28T07:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh/sftp between VMS and linux without password?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680730#M53979</link>
      <description>&amp;gt; a. set def to [.ssh] directory&lt;BR /&gt;&lt;BR /&gt;"[.ssh2]"?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 1. On the VMS box&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Or, with some fooling around, one can&lt;BR /&gt;reformat a Linux key file, and use the same&lt;BR /&gt;data for both directions.  Making a key file&lt;BR /&gt;set on VMS will, however, illustrate the&lt;BR /&gt;format differences nicely, so it can be&lt;BR /&gt;useful in any case.  Also, "ssh-keygen" on&lt;BR /&gt;Linux may be able to re-format VMS (SSH2)&lt;BR /&gt;key files into OpenSSH-compatible files.&lt;BR /&gt;(Perhaps "-X" or "-i".  Works on Solaris.)</description>
      <pubDate>Wed, 28 Feb 2007 09:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-sftp-between-vms-and-linux-without-password/m-p/3680730#M53979</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-28T09:40:50Z</dc:date>
    </item>
  </channel>
</rss>

