<?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 Key based authentication Issues in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619457#M50210</link>
    <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;Sorry for the late reply, I was away for the past week.&lt;BR /&gt;&lt;BR /&gt;What error did you have when SCP from OpenVMS to unix? Do you have the output of the SCP command with debug turned on?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Oct 2005 02:21:04 GMT</pubDate>
    <dc:creator>Michael Yu_3</dc:creator>
    <dc:date>2005-10-04T02:21:04Z</dc:date>
    <item>
      <title>SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619452#M50205</link>
      <description>I am runninf tcpip 5.4 ECO 5 and trying to use ssh over key based authentication. I have setup all required things as per ssh guide for public-key based authentication but still my authentication is failing. Can you advise what might be issue. Here is the dump I get :&lt;BR /&gt;&lt;BR /&gt;ssh -v ssh_test@svmp01&lt;BR /&gt;&lt;BR /&gt;debug: Ssh2/SSH2.C:1847: CRTL version (SYS$SHARE:DECC$SHR.EXE ident) is V7.3-2-00&lt;BR /&gt;debug: SshAppCommon/SSHAPPCOMMON.C:307: Allocating global SshRegex context.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:3285: Metaconfig parsing stopped at line 3.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:842: Setting variable 'VerboseMode' to 'FALSE'.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:3285: Metaconfig parsing stopped at line 3.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:842: Setting variable 'VerboseMode' to 'FALSE'.&lt;BR /&gt;debug: Connecting to svmp01, port 22... (SOCKS not used)&lt;BR /&gt;debug: Ssh2/SSH2.C:2813: Entering event loop.&lt;BR /&gt;debug: Ssh2Client/SSHCLIENT.C:1607: Creating transport protocol.&lt;BR /&gt;debug: SshAuthMethodClient/SSHAUTHMETHODC.C:99: Added "publickey" to usable methods.&lt;BR /&gt;debug: Ssh2Client/SSHCLIENT.C:1648: Creating userauth protocol.&lt;BR /&gt;debug: client supports 1 auth methods: 'publickey'&lt;BR /&gt;debug: SshUnixTcp/SSHUNIXTCP.C:1356: using local hostname SVMU01.aspac.citicorp.com&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:545: local ip = 163.37.135.82, local port = 56615&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:547: remote ip = 163.37.131.193, remote port = 22&lt;BR /&gt;debug: SshConnection/SSHCONN.C:2277: Wrapping...&lt;BR /&gt;debug: SshReadLine/SSHREADLINE.C:3651: Initializing ReadLine...&lt;BR /&gt;debug: Remote version: SSH-2.0-3.2.0 SSH Secure Shell OpenVMS V5.5&lt;BR /&gt;debug: Major: 3 Minor: 2 Revision: 0&lt;BR /&gt;debug: Ssh2Transport/TRCOMMON.C:2157: lang s to c: `', lang c to s: `'&lt;BR /&gt;debug: Ssh2Transport/TRCOMMON.C:2222: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug: Ssh2Transport/TRCOMMON.C:2225: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug: Remote host key found from database.&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:346: Received SSH_CROSS_STARTUP packet from connection protocol.&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:396: Received SSH_CROSS_ALGORITHMS packet from connection protocol.&lt;BR /&gt;********************************************************************************&lt;BR /&gt;**                                                                            **&lt;BR /&gt;**                        THIS SYSTEM IS RESTRICTED!                          **&lt;BR /&gt;**                                                                            **&lt;BR /&gt;**      You are  authorized to use this  System for  approved  business       **&lt;BR /&gt;**      purposes only.   Use for any  other  purpose  prohibited.   All       **&lt;BR /&gt;**      transactional records,  reports,  e-mail,  software, and  other       **&lt;BR /&gt;**      data generated by or residing upon this System are the property       **&lt;BR /&gt;**      of the  Company and may be used by the Company for any purpose.       **&lt;BR /&gt;**      Authorized  and  unauthorized   activities  may  be  monitored.       **&lt;BR /&gt;**                                                                            **&lt;BR /&gt;********************************************************************************&lt;BR /&gt;&lt;BR /&gt;debug: server offers auth methods 'password,publickey'.&lt;BR /&gt;debug: Ssh2KeyBlob/SSH2PUBKEYENCODE.C:411: Could not decode certificate file&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:1681: adding keyfile "/DISK$SGA002/ssh_test/ssh2/ID_DSA_2048_A" to candidates&lt;BR /&gt;debug: server offers auth methods 'password,publickey'.&lt;BR /&gt;debug: server offers auth methods 'password,publickey'.&lt;BR /&gt;debug: Ssh2AuthClient/SSHAUTHC.C:373: Method 'publickey' disabled.&lt;BR /&gt;debug: server offers auth methods 'password,publickey'.&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:184: DISCONNECT received: No further authentication methods available.&lt;BR /&gt;debug: SshReadLine/SSHREADLINE.C:3717: Uninitializing ReadLine...&lt;BR /&gt;warning: Authentication failed.&lt;BR /&gt;debug: Ssh2/SSH2.C:316: locally_generated = TRUE&lt;BR /&gt;Disconnected; no more authentication methods available (No further authentication methods available.).&lt;BR /&gt;debug: Ssh2Client/SSHCLIENT.C:1683: Destroying client.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:2745: Freeing pki. (host_pki != NULL, user_pki = NULL)&lt;BR /&gt;debug: SshConnection/SSHCONN.C:2329: Destroying SshConn object.&lt;BR /&gt;debug: Ssh2Client/SSHCLIENT.C:1751: Destroying client completed.&lt;BR /&gt;debug: SshAuthMethodClient/SSHAUTHMETHODC.C:104: Destroying authentication method array.&lt;BR /&gt;debug: SshAppCommon/SSHAPPCOMMON.C:320: Freeing global SshRegex context.&lt;BR /&gt;debug: SshConfig/SSHCONFIG.C:2745: Freeing pki. (host_pki = NULL, user_pki = NULL)</description>
      <pubDate>Tue, 06 Sep 2005 07:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619452#M50205</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-09-06T07:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619453#M50206</link>
      <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;It seems that there is some problem with your public key file. Can you post the output of dir/full of you public key file?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2005 01:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619453#M50206</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-09-07T01:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619454#M50207</link>
      <description>Thanks Michael,&lt;BR /&gt;&lt;BR /&gt;You were right.I found the problem. Actually in my authorization file , I used keyword IdKey instead of KEY to identify public key. Corrected that and now its working fine. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2005 04:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619454#M50207</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-09-07T04:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619455#M50208</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;since Michael obviously helped you out, would you care to reward him in Forum style?&lt;BR /&gt;&lt;BR /&gt;Please read&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/help/forums.do#28" target="_blank"&gt;http://www1.itrc.hp.com/service/help/forums.do#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Sat, 24 Sep 2005 07:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619455#M50208</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-09-24T07:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619456#M50209</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;For scp file transfer from vms to unix, are there special consideration to be taken. Are there some guides which explains in more detail on the same. We are trying transfer from vms to unix but it fails. I understand the way public key file is added on Unix is different from vms.Please advise &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;AK&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Sep 2005 10:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619456#M50209</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-09-26T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619457#M50210</link>
      <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;Sorry for the late reply, I was away for the past week.&lt;BR /&gt;&lt;BR /&gt;What error did you have when SCP from OpenVMS to unix? Do you have the output of the SCP command with debug turned on?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Oct 2005 02:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619457#M50210</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-10-04T02:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619458#M50211</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;When you generate pair of key on vms server the public key format generated on vms is diffenert as one for unix platform. i.e. our public contains these extra lines &lt;BR /&gt;&lt;BR /&gt;Subject: dusr_tjip&lt;BR /&gt;Comment: "2048-bit dsa, dusr_tjip@SVMU02.aspac.citicorp.com, Thu Oct 0\&lt;BR /&gt;6 2005 01:22:02" &lt;BR /&gt;&lt;BR /&gt;do we need to put these lines in authorized_keys2 file on unix or we need to some formatting of public key before giving it to unix platform&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Anup</description>
      <pubDate>Mon, 10 Oct 2005 03:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619458#M50211</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-10-10T03:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619459#M50212</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;do we need to put these lines in authorized_keys2 file on unix or we need to some formatting of public key before giving it to unix platform&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Monst Unix' sshkeygen has an import option (-i?) for these keys which changes the format.&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Mon, 10 Oct 2005 04:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619459#M50212</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2005-10-10T04:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619460#M50213</link>
      <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;I think the subject line and the comment line will be ignored.&lt;BR /&gt;&lt;BR /&gt;Which favour of unix are you using?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2005 18:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619460#M50213</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-10-10T18:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619461#M50214</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;The issue is resolved after we converted the key at Unix but there is one glitch we found. If we create a private-public key pair on VMS with -P option ( i.e. empty passphrase ) and then we convert that public key at remote end, it does not work. During a transfer initiation it asks for passphrase out of blue. But if you create a private-public key pair without -P option and provide blank passphrase then that public key at remote end after conversion works fine. &lt;BR /&gt;&lt;BR /&gt;Thanks for you support&lt;BR /&gt;&lt;BR /&gt;Cheers .. AK</description>
      <pubDate>Mon, 10 Oct 2005 23:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619461#M50214</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-10-10T23:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619462#M50215</link>
      <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;It is good to know that things are working fine for you.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2005 23:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619462#M50215</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-10-10T23:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619463#M50216</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;One query &amp;gt;&amp;gt;&amp;gt; whenever i initiate a client connection, its always goes and reads the ssh2_config. file from SYS$SYSDEVICE:[TCPIP$SSH.SSH2] and if it does not find the file there then it goes and reads the ssh2_config from users login directory. How we can force to read from user's login directory first and then from system area ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Anup</description>
      <pubDate>Wed, 12 Oct 2005 00:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619463#M50216</guid>
      <dc:creator>Anup Kumar</dc:creator>
      <dc:date>2005-10-12T00:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Key based authentication Issues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619464#M50217</link>
      <description>Hi Anup,&lt;BR /&gt;&lt;BR /&gt;My understanding is that the ssh2_config in sys$sysdevice:[tcpip$ssh.ssh2] has a system-wide scope while the ssh2_config in the [.ssh2] subdirectory under sys$login of the user has a user-specific scope.&lt;BR /&gt;&lt;BR /&gt;The ssh client process always reads the ssh2_config from SYS$SYSDEVICE:[TCPIP$SSH.SSH2] to set up the run-time parameters for the ssh connection. Then it reads the ssh2_config from the user directory and set up any user-specific changes necessary.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2005 01:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-based-authentication-issues/m-p/3619464#M50217</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-10-12T01:02:56Z</dc:date>
    </item>
  </channel>
</rss>

