<?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 windows client to VMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771808#M60568</link>
    <description>Gary,&lt;BR /&gt;&lt;BR /&gt;is it prompting for a passphrase, or the VMS account password?&lt;BR /&gt;&lt;BR /&gt;If it is the passphrase, then you probably want to regenerate the key pair specifying "no passphrase", which would be the "-P" option with the VMS ssh_keygen.&lt;BR /&gt;&lt;BR /&gt;If it is prompting for the VMS account password, then you probably need to enable debugging during the connection to have a look at the connection dialogue. &lt;BR /&gt;&lt;BR /&gt;Make sure that the public key at the VMS end has STMLF format, and I presume that you have checked that your SSHD2_CONFIG. has publickey listed for AllowedAuthentications.&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Mar 2011 15:33:32 GMT</pubDate>
    <dc:creator>Duncan Morris</dc:creator>
    <dc:date>2011-03-30T15:33:32Z</dc:date>
    <item>
      <title>SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771804#M60564</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to setup password-less SSH connection between a windows client (CopSSH) and VMS (V7.3-2 TCPIP V5.4 Eco 7).&lt;BR /&gt;&lt;BR /&gt;I've generated the pair of key files (id_rsa and id_rsa.pub) on the client.&lt;BR /&gt;&lt;BR /&gt;I'm not sure where to create them on the VMS system.&lt;BR /&gt;&lt;BR /&gt;Looking back at past posts, it seems that I need to create the .ssh directory ([.ssh] ?) and the 'authorized_key.' file.&lt;BR /&gt;&lt;BR /&gt;I've appended the 'id_rsa.pub' file to the 'authorized_key.' file.&lt;BR /&gt;&lt;BR /&gt;The first time I connected, I entered the password and it added an entry to the known hosts file, etc.&lt;BR /&gt;&lt;BR /&gt;When I connect subsequently, I still get prompted for the password.&lt;BR /&gt;&lt;BR /&gt;The attached shows the output from 'ssh -v'.&lt;BR /&gt;&lt;BR /&gt;Anyone know where I'm going wrong?</description>
      <pubDate>Wed, 30 Mar 2011 12:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771804#M60564</guid>
      <dc:creator>Gary Smallridge</dc:creator>
      <dc:date>2011-03-30T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771805#M60565</link>
      <description>&lt;!--!*#--&gt;
&lt;P&gt;&amp;gt; [...] I need to create the .ssh directory&lt;BR /&gt;&amp;gt; ([.ssh] ?)&lt;BR /&gt;&lt;BR /&gt;[.SSH2] ?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; and the 'authorized_key.' file.&lt;BR /&gt;&lt;BR /&gt;[.SSH2]AUTHORIZATION. ?&lt;BR /&gt;&lt;BR /&gt;(Case probably doesn't matter, and I may&lt;BR /&gt;have done this stuff back in my ODS2 days.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've appended the 'id_rsa.pub' file to the&lt;BR /&gt;&amp;gt; 'authorized_key.' file.&lt;BR /&gt;&lt;BR /&gt;If you're looking at "past posts" involving&lt;BR /&gt;other operating systems, using OpenSSH (or&lt;BR /&gt;its friends), which is how it sounds, then&lt;BR /&gt;you should get hold of the actual VMS docs,&lt;BR /&gt;because many things are different here. For&lt;BR /&gt;example, [.SSH2]AUTHORIZATION holds file&lt;BR /&gt;names of key files, not the actual key data&lt;BR /&gt;as "authorized_keys" (with an "s") does.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] a windows client (CopSSH) [...]&lt;BR /&gt;&lt;BR /&gt;I know nothing about it, but if it's based on&lt;BR /&gt;OpenSSH, then you may also have key file&lt;BR /&gt;format problems, requiring some key file&lt;BR /&gt;format conversion (which probably would need&lt;BR /&gt;to be done on the other system, because the&lt;BR /&gt;VMS key generation program may be too lame to&lt;BR /&gt;do it). There should be plenty of those&lt;BR /&gt;"past posts" which cover the whole key format&lt;BR /&gt;mess. One recent example:&lt;BR /&gt;&lt;BR /&gt;(thread deleted)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The latest manual should be:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/ba548_90007/index.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/ba548_90007/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That's probably a newer version, but it or&lt;BR /&gt;the comparable older manual should help some.&lt;BR /&gt;(The SSH docs are under TCPIP.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] 'ssh -v'.&lt;BR /&gt;&lt;BR /&gt;Also, when the server's unhappy, it seldom&lt;BR /&gt;tells the client all it knows, so you may&lt;BR /&gt;need to find the server's log file to get all&lt;BR /&gt;the useful info after something fails.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 16:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771805#M60565</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-08-04T16:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771806#M60566</link>
      <description>Hi Gary,&lt;BR /&gt;&lt;BR /&gt;create [.ssh2]authorization. with&lt;BR /&gt;an entry&lt;BR /&gt;&lt;BR /&gt;Key id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;Here are my own samples for allowing passwordless login within a node&lt;BR /&gt;&lt;BR /&gt;ty [.ssh2]authorization.&lt;BR /&gt;Key id_duncanm_ev6.pub&lt;BR /&gt;&lt;BR /&gt;ty [.ssh2]identification.&lt;BR /&gt;IdKey id_duncanm_ev6&lt;BR /&gt;&lt;BR /&gt;The relevant key files should be present in the [.ssh2] directory. The authorization entries are the permitted inbound identities, and the identification file holds one or more identities which you would use outbound. If you only want inbound connections, then you only need the authorization file and public keys.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 30 Mar 2011 14:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771806#M60566</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2011-03-30T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771807#M60567</link>
      <description>Hi Duncan,&lt;BR /&gt;&lt;BR /&gt;Yup it's easy setting it up for localhost connection.&lt;BR /&gt;&lt;BR /&gt;I followed the same method for the windows system with and without converting the 'ida_rsa.pub' file to IETF format ('-e' switch to ssh-keygen), but it still prompts for the passphrase to the 'id_rsa' file.</description>
      <pubDate>Wed, 30 Mar 2011 15:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771807#M60567</guid>
      <dc:creator>Gary Smallridge</dc:creator>
      <dc:date>2011-03-30T15:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771808#M60568</link>
      <description>Gary,&lt;BR /&gt;&lt;BR /&gt;is it prompting for a passphrase, or the VMS account password?&lt;BR /&gt;&lt;BR /&gt;If it is the passphrase, then you probably want to regenerate the key pair specifying "no passphrase", which would be the "-P" option with the VMS ssh_keygen.&lt;BR /&gt;&lt;BR /&gt;If it is prompting for the VMS account password, then you probably need to enable debugging during the connection to have a look at the connection dialogue. &lt;BR /&gt;&lt;BR /&gt;Make sure that the public key at the VMS end has STMLF format, and I presume that you have checked that your SSHD2_CONFIG. has publickey listed for AllowedAuthentications.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2011 15:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771808#M60568</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2011-03-30T15:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771809#M60569</link>
      <description>Gary&lt;BR /&gt;&lt;BR /&gt;Also, if it is querying the passphrase you may want to check your SSH implementation on the windows system for the specification of the passphrase cache timeout value.&lt;BR /&gt;&lt;BR /&gt;I'm using Exceed where this value is specified in the 'Connectivity Secure Shell Management Console' in the 'Settings' tab.&lt;BR /&gt;&lt;BR /&gt;I've set a value of 600 so the phrase is kept for a whole working day (10 hours).&lt;BR /&gt;&lt;BR /&gt;Edwin</description>
      <pubDate>Mon, 04 Apr 2011 11:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771809#M60569</guid>
      <dc:creator>Edwin Gersbach_2</dc:creator>
      <dc:date>2011-04-04T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771810#M60570</link>
      <description>I would suggest calling HP support here, as that's the new model for operating with OpenVMS, and given that HP has provided documentation insufficient or confusing for your particular needs.  (And yes, the ssh manual is fairly dense; it seems written for folks that already understand what's going on, and lacking in recipes.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the log...&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /cygdrive/h/.ssh/identity&lt;BR /&gt;debug1: Offering public key: /cygdrive/h/.ssh/id_rsa&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug1: Trying private key: /cygdrive/h/.ssh/id_dsa&lt;BR /&gt;debug1: Next authentication method: password&lt;BR /&gt;&lt;USER&gt;@asp03's password:&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The public key path failed, and it's prompting you for your VMS password, in other words.  Not for the key passphrase.&lt;BR /&gt;&lt;BR /&gt;The keys either weren't the right private-public pair, or the key file format wasn't appreciated (stream LF), or the key format (DSA, RSA) wasn't right, or they were misplaced within the VMS ssh-related directory structures, or...&lt;BR /&gt;&lt;BR /&gt;This phrasing:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've appended the 'id_rsa.pub' file to the 'authorized_key.' file.&lt;BR /&gt;&lt;BR /&gt;Makes me wonder if you appended the key file contents onto the specified file, or if you appended the name of the key file onto the specified file.  The former would not work.&lt;BR /&gt;&lt;BR /&gt;Here's the basic sequence for a command-line generation from the perspective of a Unix box connecting to an OpenVMS box:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1118" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1118&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It shows what format key is used, and where to transfer the public key within VMS, and how to configure the key as an authorized key.&lt;BR /&gt;&lt;BR /&gt;A while back, I also used a Windows box to create a series of images and documentation for a PuTTY key setup and key exchange for a customer, though I haven't posted that one.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Reposting this as ITRC is again demonstrating its continued desire to be replaced by an actual and functional forums system.&lt;/USER&gt;</description>
      <pubDate>Mon, 04 Apr 2011 11:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771810#M60570</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-04T11:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSH windows client to VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771811#M60571</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;With the help you all have given, I have managed to get it working from a user's PuTty session.&lt;BR /&gt;&lt;BR /&gt;1. The key is generated with Puttygen.&lt;BR /&gt;2. The public key is append to the end of the 'authorized_key' file.&lt;BR /&gt;3. An entry is added to the 'authorization.' file, e.g.:&lt;BR /&gt;    Key id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;I think that there maybe old information around that refers to SSH v1 regarding the converting to 'ssh.com' format.</description>
      <pubDate>Mon, 04 Apr 2011 12:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-windows-client-to-vms/m-p/4771811#M60571</guid>
      <dc:creator>Gary Smallridge</dc:creator>
      <dc:date>2011-04-04T12:36:48Z</dc:date>
    </item>
  </channel>
</rss>

