<?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 Difficulty from IBM to OpenVMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656333#M59728</link>
    <description>&lt;!--!*#--&gt;&amp;gt; [...] the OS running on the IBM side is z.&lt;BR /&gt;&lt;BR /&gt;Ok.  I know approximately nothing about z/OS&lt;BR /&gt;or the SSH software there.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I believe the key is SSH and not SSH2&lt;BR /&gt;&amp;gt; format. &lt;BR /&gt;&lt;BR /&gt;OpenSSH.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ssh-dss AAAAB3Nz[...]&lt;BR /&gt;&lt;BR /&gt;One long line, right?  That looks like an&lt;BR /&gt;OpenSSH-format key, which is not what the&lt;BR /&gt;VMS TCPIP SSH software wants.  I believe that&lt;BR /&gt;the ssh_keygen program on your VMS system is&lt;BR /&gt;not smart enough to convert what you have&lt;BR /&gt;into what you need, but an OpenSSH ssh-keygen&lt;BR /&gt;program should have a "-e" option which will&lt;BR /&gt;let you do the job.  Perhaps the folks with&lt;BR /&gt;the z/OS system can do it.  Otherwise, you&lt;BR /&gt;may need to find some UNIX (-like) system&lt;BR /&gt;with OpenSSH installed on it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ---- BEGIN SSH2 PUBLIC KEY ----&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Yup.  That's what you need.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] WARNING: Error trying to access file&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I see the various funny file names there, and&lt;BR /&gt;I know nothing, but I'd guess that it's&lt;BR /&gt;trying various possibilities after it had&lt;BR /&gt;trouble with the original (wrong-format) key&lt;BR /&gt;file.&lt;BR /&gt;&lt;BR /&gt;Step one is to get an SSH2-format key file.&lt;BR /&gt;_Then_, if it's still confused, I'd start to&lt;BR /&gt;worry about any other complaints from the&lt;BR /&gt;SSH server.</description>
    <pubDate>Sat, 03 Jul 2010 14:19:22 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2010-07-03T14:19:22Z</dc:date>
    <item>
      <title>SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656329#M59724</link>
      <description>We are trying to setup an SFTP connection from an IBM (client) to and OpenVMS Alpha running 8.3 / TCPIP v5.6. We are attempting to utilize public-key authentication.  I have gotten public-key authentication to work between OpenVMS systems and between and OpenVMS and Solaris.  I have placed the public key from the IBM side into the proper directory, i.e. [username.ssh2] and have also created and populated the AUTHORIZATION. file.  The IBM is at another agency and I do not have control over it.  I logged into the OpenVMS account manually and verified all was well.  I could SFTP into the account using password authentication.  I have modified the sshd2_config file to allow publickey although it claims to do this as the default.&lt;BR /&gt;&lt;BR /&gt;I believe it is having difficulty with the naming of the key on the OpenVMS machine. Below is one of the opcom messages that comes up:&lt;BR /&gt;%%%%%%%%%%%  OPCOM   2-JUL-2010 14:10:30.31  %%%%%%%%%%%&lt;BR /&gt;Message from user AUDIT$SERVER on XXXYYY&lt;BR /&gt;Security alarm (SECURITY) and security audit (SECURITY) on XXXYYY, system id: 51210&lt;BR /&gt;Auditable event:          Network login failure&lt;BR /&gt;Event time:                2-JUL-2010 14:10:30.30&lt;BR /&gt;PID:                      0000143B        &lt;BR /&gt;Process name:             TCPIP$S_BG27717 &lt;BR /&gt;Username:                 TCPIP$SSH       &lt;BR /&gt;Remote node fullname:     SSH_PUBLICKEY:IBMHOST.HSMV.STATE.FL.US&lt;BR /&gt;Remote username:          AAA_TEST(LOCAL)&lt;BR /&gt;Status:                   %LOGIN-F-NOTVALID, user authorization failure&lt;BR /&gt;&lt;BR /&gt;We populated the AUTHORIZATION. file with an entry of:&lt;BR /&gt;&lt;BR /&gt;KEY AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB.  The logfile in sys$sysdevice:[tcpip$ssh] indicates that the key was converted to stream lf, prints out no other authentication methods available and closes.  Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Sincerely&lt;BR /&gt;&lt;BR /&gt;Rene&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2010 17:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656329#M59724</guid>
      <dc:creator>Rene Rodrigue</dc:creator>
      <dc:date>2010-07-02T17:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656330#M59725</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] IBM [...]&lt;BR /&gt;&lt;BR /&gt;That covers a lot of ground.  AIX?  z/OS?&lt;BR /&gt;MVS?  ???&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I have placed the public key from the&lt;BR /&gt;&amp;gt; IBM side [...]&lt;BR /&gt;&lt;BR /&gt;Is that an OpenSSH-format (incompatible) key&lt;BR /&gt;or an SSH2-format (compatible) key?  I can't&lt;BR /&gt;see it from here.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; We populated the AUTHORIZATION. file with&lt;BR /&gt;&amp;gt; an entry of:&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; KEY AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB.&lt;BR /&gt;&lt;BR /&gt;Not including the last "."?  Is there such a&lt;BR /&gt;file?  (What's in it?)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The logfile in sys$sysdevice:[tcpip$ssh]&lt;BR /&gt;&amp;gt; indicates that the key was converted to&lt;BR /&gt;&amp;gt; stream lf, [...]&lt;BR /&gt;&lt;BR /&gt;Probably safer/faster if you do that once and&lt;BR /&gt;for all time.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] prints out no other authentication&lt;BR /&gt;&amp;gt; methods available and closes.&lt;BR /&gt;&lt;BR /&gt;An actual (copy+paste) transcript might be&lt;BR /&gt;more satisfying (and informative).  Your&lt;BR /&gt;summary and interpretation do not make a good&lt;BR /&gt;substitute for the actual data.&lt;BR /&gt;&lt;BR /&gt;Debug output from the client might help.&lt;BR /&gt;Adding "-v[v[v]]" to the "ssh"/"sftp"&lt;BR /&gt;command works in many places.  "ssh -V" (or&lt;BR /&gt;"sftp -V") can be interesting, too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I believe it is having difficulty with the&lt;BR /&gt;&amp;gt; naming of the key on the OpenVMS machine.&lt;BR /&gt;&lt;BR /&gt;Why?  Knowing nothing about your key data, my&lt;BR /&gt;first guess would be "wrong format", but I'm&lt;BR /&gt;always open to actual evidence.</description>
      <pubDate>Sat, 03 Jul 2010 04:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656330#M59725</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-03T04:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656331#M59726</link>
      <description>&lt;!--!*#--&gt;If you are running an OpenSSH based port on the IBM side it is likely that the format of your public key file is incorrect. The public key file on the OpenVMS side needs to be in IETF format (RFC4716). The first 2 lines of an example IETF public key file looks like:&lt;BR /&gt;&lt;BR /&gt;---- BEGIN SSH2 PUBLIC KEY ----&lt;BR /&gt;Comment: "dsa-key-20080725, 2048-bit DSA, kchan@ckc-pc"&lt;BR /&gt;&lt;BR /&gt;OpenSSH based ssh-keygen will do the conversion for you with the "-e" switch.&lt;BR /&gt;&lt;BR /&gt;Also are you sure that you have specified the path to the private key identification file correctly on the IBM side?&lt;BR /&gt;&lt;BR /&gt;Khee&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Jul 2010 07:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656331#M59726</guid>
      <dc:creator>Khee Chan</dc:creator>
      <dc:date>2010-07-03T07:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656332#M59727</link>
      <description>I was told the OS running on the IBM side is z.  He stated 1.09. This was&lt;BR /&gt;yesterday before I logged the call within the forum so I am not sure if&lt;BR /&gt;he meant 10.9, etc.  I believe the key is SSH and not SSH2 format. &lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[AAA_TEST.SSH2]&lt;BR /&gt;&lt;BR /&gt;AUTHORIZATION.;10  &lt;BR /&gt;BATSFTP-IBMHOST.PUB;2&lt;BR /&gt;AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB;2&lt;BR /&gt;AAA_TEST-SSH_PUBLICKEY_IBMHOST_HSMV_STATE_FL_US.PUB;2&lt;BR /&gt;DSA1024_FOR_AUTHORIZED_KEYS.PUB;2&lt;BR /&gt;&lt;BR /&gt;FTPGWY::RODRIGUER: type AUTHORIZATION.;10&lt;BR /&gt;KEY DSA1024_FOR_AUTHORIZED_KEYS.PUB&lt;BR /&gt;KEY AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB&lt;BR /&gt;KEY AAA_TEST-SSH_PUBLICKEY_IBMHOST_HSMV_STATE_FL_US.PUB&lt;BR /&gt;KEY BATSFTP-IBMHOST.PUB&lt;BR /&gt;&lt;BR /&gt;FTPGWY::RODRIGUER: TYPE AAA_TEST-SSH_PUBLICKEY_IBMHOST_HSMV_STATE_FL_US.PUB&lt;BR /&gt;ssh-dss AAAAB3NzaC1kc3MAAACBAN+QI07pvPeTHtAy7Ey6FMNu3mHYGr36Zj+wx36i6biKqsljz6R69M/NcrdMDDQGUxhYYyTUyVUqcU+iVJEQZvLZnh&lt;BR /&gt;J4nIQ3OxmZVt4CZFVbbgO1hjhtsCPVLELrCJJehyLG/6WQURYxHeMtgbu9LThGNTi4tY38C7nibabsGICnAAAAFQDQvFb4POY+tfRtKFlD0MFHPzTOXQAA&lt;BR /&gt;AIBgew0gZOngYkMOE4cR0j3I0qu43lz3F2XfUw5Db3rzggkL9xOctW4sdGycnSEYMbgPKAml9HqzsmsmcCyFHYDKIEJHYFTJwOUsukZZpWBi5+FxFMzsAB&lt;BR /&gt;UuGl2dLajAlo9IHQxz+9GcUy71Z0HttZE6FvkZV+7qkOFosMSL+vhJKwAAAIEAntyGskIREzebqdzheG/4doGRIcCtmdpG3H9g/b4dzINS1/DSX6H0XleY&lt;BR /&gt;AMC78ZXrZl41DF3pVuihI6H4Jhb0H63XJ4rI2gA34JS0h46xQoK612eHkAi/VEhORoM0Frs9fzRGebWpZub9WwZHuXNAguBbpKwCehUsRtpoqAxyrJw= 1&lt;BR /&gt;024-bit dsa, BATSFTP@IBMHOST, Thu Mar 08 2007 12:31:57&lt;BR /&gt;&lt;BR /&gt;FTPGWY::RODRIGUER: TYPE TCPIP$SSH_RUN.LOG;10&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;%PURGE-W-FILNOTPUR, error deleting SYS$SYSDEVICE:[TCPIP$SSH]TCPIP$SSH_RUN.LOG;4&lt;BR /&gt;-RMS-E-FLK, file currently locked by another user&lt;BR /&gt;Fri 02 14:10:28 INFORMATIONAL: Starting image in auxiliary server mode.&lt;BR /&gt;Fri 02 14:10:28 INFORMATIONAL: connection from "204.90.30.243"&lt;BR /&gt;Fri 02 14:10:29 WARNING: Converting file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST-SSH_PUBLICKEY_IBMHOST_HSMV_STATE_FL_US.&lt;BR /&gt;PUB to Stream_LF.&lt;BR /&gt;Fri 02 14:10:29 WARNING: File /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST-SSH_PUBLICKEY_IBMHOST_HSMV_STATE_FL_US.PUB convert&lt;BR /&gt;ed successfully to Stream_LF.&lt;BR /&gt;Fri 02 14:10:29 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST-SSH_PUBLICKEY:IBMHOST.HSMV.&lt;BR /&gt;STATE.FL.US.PUB.&lt;BR /&gt;Fri 02 14:10:30 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST-SSH_PUBLICKEY:IBMHOST.HSMV.&lt;BR /&gt;STATE.FL.US.PUB.&lt;BR /&gt;Fri 02 14:10:30 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST-SSH_PUBLICKEY:IBMHOST.HSMV.&lt;BR /&gt;STATE.FL.US.PUB.&lt;BR /&gt;Fri 02 14:10:30 INFORMATIONAL: Remote host disconnected: No further authentication methods available.&lt;BR /&gt;Fri 02 14:10:30 INFORMATIONAL: no more authentication methods on remote: 'No further authentication methods available.&lt;BR /&gt;'&lt;BR /&gt;  TCPIP$SSH    job terminated at  2-JUL-2010 14:10:30.79&lt;BR /&gt;&lt;BR /&gt;  Accounting information:&lt;BR /&gt;  Buffered I/O count:                692      Peak working set size:      10544&lt;BR /&gt;  Direct I/O count:                  397      Peak virtual size:         183584&lt;BR /&gt;  Page faults:                      1062      Mounted volumes:                0&lt;BR /&gt;  Charged CPU time:        0 00:00:00.92      Elapsed time:       0 00:00:03.01&lt;BR /&gt;FTPGWY::RODRIGUER: TYPE TCPIP$SSH_RUN.LOG;09&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;%PURGE-W-FILNOTPUR, error deleting SYS$SYSDEVICE:[TCPIP$SSH]TCPIP$SSH_RUN.LOG;4&lt;BR /&gt;-RMS-E-FLK, file currently locked by another user&lt;BR /&gt;Fri 02 13:28:49 INFORMATIONAL: Starting image in auxiliary server mode.&lt;BR /&gt;Fri 02 13:28:49 INFORMATIONAL: connection from "204.90.30.243"&lt;BR /&gt;Fri 02 13:28:50 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:50 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:51 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:51 INFORMATIONAL: Remote host disconnected: No further authentication methods available.&lt;BR /&gt;Fri 02 13:28:51 INFORMATIONAL: no more authentication methods on remote: 'No further authentication methods available.&lt;BR /&gt;'&lt;BR /&gt;  TCPIP$SSH    job terminated at  2-JUL-2010 13:28:51.51&lt;BR /&gt;&lt;BR /&gt;  Accounting information:&lt;BR /&gt;  Buffered I/O count:                654      Peak working set size:      11136&lt;BR /&gt;  Direct I/O count:                  383      Peak virtual size:         183312&lt;BR /&gt;  Page faults:                       844      Mounted volumes:                0&lt;BR /&gt;  Charged CPU time:        0 00:00:00.83      Elapsed time:       0 00:00:02.68&lt;BR /&gt;FTPGWY::RODRIGUER: TYPE TCPIP$SSH_RUN.LOG;08&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;Fri 02 13:27:59 INFORMATIONAL: Starting image in auxiliary server mode.&lt;BR /&gt;Fri 02 13:27:59 INFORMATIONAL: connection from "204.90.30.243"&lt;BR /&gt;Fri 02 13:28:01 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:01 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:02 WARNING: Error trying to access file /sys$sysdevice/AAA_TEST/ssh2/AAA_TEST@IBMHOST.HSMV.STATE.FL.US.PU&lt;BR /&gt;B.&lt;BR /&gt;Fri 02 13:28:02 INFORMATIONAL: Remote host disconnected: No further authentication methods available.&lt;BR /&gt;Fri 02 13:28:02 INFORMATIONAL: no more authentication methods on remote: 'No further authentication methods available.&lt;BR /&gt;'&lt;BR /&gt;  TCPIP$SSH    job terminated at  2-JUL-2010 13:28:02.24&lt;BR /&gt;&lt;BR /&gt;  Accounting information:&lt;BR /&gt;  Buffered I/O count:                652      Peak working set size:      10752&lt;BR /&gt;  Direct I/O count:                  382      Peak virtual size:         183312&lt;BR /&gt;  Page faults:                       830      Mounted volumes:                0&lt;BR /&gt;  Charged CPU time:        0 00:00:00.91      Elapsed time:       0 00:00:03.04&lt;BR /&gt;FTPGWY::RODRIGUER: TYPE TCPIP$SSH_RUN.LOG;07&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;Fri 02 13:23:07 INFORMATIONAL: Starting image in auxiliary server mode.&lt;BR /&gt;Fri 02 13:23:07 INFORMATIONAL: connection from "204.90.25.198"&lt;BR /&gt;Fri 02 13:23:09 INFORMATIONAL: Remote host disconnected: No further authentication methods available.&lt;BR /&gt;Fri 02 13:23:09 INFORMATIONAL: no more authentication methods on remote: 'No further authentication methods available.&lt;BR /&gt;'&lt;BR /&gt;  TCPIP$SSH    job terminated at  2-JUL-2010 13:23:09.51&lt;BR /&gt;&lt;BR /&gt;  Accounting information:&lt;BR /&gt;  Buffered I/O count:                634      Peak working set size:      10704&lt;BR /&gt;  Direct I/O count:                  357      Peak virtual size:         183312&lt;BR /&gt;  Page faults:                       835      Mounted volumes:                0&lt;BR /&gt;  Charged CPU time:        0 00:00:00.84      Elapsed time:       0 00:00:02.65&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Jul 2010 11:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656332#M59727</guid>
      <dc:creator>Rene Rodrigue</dc:creator>
      <dc:date>2010-07-03T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656333#M59728</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] the OS running on the IBM side is z.&lt;BR /&gt;&lt;BR /&gt;Ok.  I know approximately nothing about z/OS&lt;BR /&gt;or the SSH software there.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I believe the key is SSH and not SSH2&lt;BR /&gt;&amp;gt; format. &lt;BR /&gt;&lt;BR /&gt;OpenSSH.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ssh-dss AAAAB3Nz[...]&lt;BR /&gt;&lt;BR /&gt;One long line, right?  That looks like an&lt;BR /&gt;OpenSSH-format key, which is not what the&lt;BR /&gt;VMS TCPIP SSH software wants.  I believe that&lt;BR /&gt;the ssh_keygen program on your VMS system is&lt;BR /&gt;not smart enough to convert what you have&lt;BR /&gt;into what you need, but an OpenSSH ssh-keygen&lt;BR /&gt;program should have a "-e" option which will&lt;BR /&gt;let you do the job.  Perhaps the folks with&lt;BR /&gt;the z/OS system can do it.  Otherwise, you&lt;BR /&gt;may need to find some UNIX (-like) system&lt;BR /&gt;with OpenSSH installed on it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ---- BEGIN SSH2 PUBLIC KEY ----&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Yup.  That's what you need.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] WARNING: Error trying to access file&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I see the various funny file names there, and&lt;BR /&gt;I know nothing, but I'd guess that it's&lt;BR /&gt;trying various possibilities after it had&lt;BR /&gt;trouble with the original (wrong-format) key&lt;BR /&gt;file.&lt;BR /&gt;&lt;BR /&gt;Step one is to get an SSH2-format key file.&lt;BR /&gt;_Then_, if it's still confused, I'd start to&lt;BR /&gt;worry about any other complaints from the&lt;BR /&gt;SSH server.</description>
      <pubDate>Sat, 03 Jul 2010 14:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656333#M59728</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-03T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656334#M59729</link>
      <description>Rene.&lt;BR /&gt;&lt;BR /&gt;I don't known anything about z/OS either (my OS/370 experience is in the dim and distant past).&lt;BR /&gt;&lt;BR /&gt;I assume your person on the IBM side has access to some form of a command line to run sftp and is not doing it from some GUI or other shell. I also assume that the IBM side is running some form of an OpenSSH port.&lt;BR /&gt;&lt;BR /&gt;Bearing the above assumptions in mind, I would recommend that you proceed as follows:&lt;BR /&gt;&lt;BR /&gt;0) On the IBM, ensure that the default SSH identify file (id_dsa or id_rsa depending on the type used) matches the corresponding private key file for AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB . If you do not want to do change the default private key file, "man sftp" to find out have to specify the command line option to use a non-default private key file.&lt;BR /&gt;&lt;BR /&gt;1) On the IBM, issue the command (change name of public key file as necessary) {beware of line wrapping and location of white spaces below, "$" denotes the command prompt}:&lt;BR /&gt;&lt;BR /&gt;$ ssh-keygen -f AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB -e &amp;gt; AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB_IETF&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;2) Verify first two lines of AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB_IETF is of the correct form. See previous posting.&lt;BR /&gt;&lt;BR /&gt;3) Transfer (as plain text ASCII) AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB_IETF to the OpenVMS system and place it in the target [username.ssh2] directory.&lt;BR /&gt;&lt;BR /&gt;4) Login to OpenVMS system and go to [username.SSH2].&lt;BR /&gt;&lt;BR /&gt;5) Type out AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB_IETF to verify that it still looks the same as in step 2.&lt;BR /&gt;&lt;BR /&gt;6) Add entry to the OpenVMS AUTHORIZATION. file thus:&lt;BR /&gt;&lt;BR /&gt;$ APPEND SYS$INPUT AUTHORIZATION&lt;BR /&gt;KEY AAA_TEST-IBMHOST_HSMV_STATE_FL_US.PUB_IETF&lt;BR /&gt;Ctrl-Z&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;7) Retry sftp and report results especially relevant lines from log file in [TCPIP$SSH.SSH].&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----&lt;BR /&gt;Khee</description>
      <pubDate>Sat, 03 Jul 2010 18:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656334#M59729</guid>
      <dc:creator>Khee Chan</dc:creator>
      <dc:date>2010-07-03T18:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656335#M59730</link>
      <description>I will try all of the suggestions listed.  I do have several unix machines running ssh so I will try the ssy_keygen -e there.  The IBM person is out until Wednesday and he does not have a backup.  I will report the results as soon as I have them.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the help.&lt;BR /&gt;&lt;BR /&gt;Rene</description>
      <pubDate>Sun, 04 Jul 2010 12:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656335#M59730</guid>
      <dc:creator>Rene Rodrigue</dc:creator>
      <dc:date>2010-07-04T12:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656336#M59731</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [..] I do have several unix machines&lt;BR /&gt;&amp;gt; running ssh so I will try the ssy_keygen&lt;BR /&gt;&amp;gt; -e there. [...]&lt;BR /&gt;&lt;BR /&gt;I'd start with "man ssh-keygen".  The key&lt;BR /&gt;import/export options have changed some over&lt;BR /&gt;the years in some places.</description>
      <pubDate>Sun, 04 Jul 2010 14:20:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656336#M59731</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-04T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Difficulty from IBM to OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656337#M59732</link>
      <description>Sorry for the delayed response in updating this thread.  The IBM system manager was out longer than I anticipated.&lt;BR /&gt;&lt;BR /&gt;I converted the key to SSH2 format via a Unix machine, then converted it to STREAM LF on the OpenVMS system.  Once this was completed, the SFTP session was successful.  Thanks to everyone for your help in resolving this issue.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;&lt;BR /&gt;Rene</description>
      <pubDate>Wed, 21 Jul 2010 14:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-difficulty-from-ibm-to-openvms/m-p/4656337#M59732</guid>
      <dc:creator>Rene Rodrigue</dc:creator>
      <dc:date>2010-07-21T14:21:30Z</dc:date>
    </item>
  </channel>
</rss>

