<?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_add cannot connect to ssh_agent in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957767#M11752</link>
    <description>Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions.&lt;BR /&gt;&lt;BR /&gt;The content of my IDENTIFICATION file is correct, and the file protections on my private and public key are identical to yours.&lt;BR /&gt;&lt;BR /&gt;$ type [.ssh2]identification.&lt;BR /&gt;IdKey   RSA_2048_HPSSH_KEY&lt;BR /&gt;&lt;BR /&gt;$ dir/prot [.ssh2]rsa*;*&lt;BR /&gt; &lt;BR /&gt;Directory DISK$USR:[TBRANSCO.SSH2]&lt;BR /&gt; &lt;BR /&gt;RSA_2048_HPSSH_KEY.;1&lt;BR /&gt;                     (RWD,RWD,,)&lt;BR /&gt;RSA_2048_HPSSH_KEY.PUB;1&lt;BR /&gt;                     (RWED,RWED,R,R)&lt;BR /&gt;&lt;BR /&gt;There is also nothing in the output of ANALYZE/AUDIT indicating an access failure, nor anything suspect in OPERATOR.LOG.&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Mar 2007 00:52:30 GMT</pubDate>
    <dc:creator>Terrence Branscombe</dc:creator>
    <dc:date>2007-03-09T00:52:30Z</dc:date>
    <item>
      <title>ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957765#M11750</link>
      <description>According to what I can find in the SSH docs, the SSH_ADD program should connect with the SSH_AGENT program and add any keys specified in your [.SSH2]IDENTIFICATION. file.  That isn't happening for me.  I can start the agent, see the subprocess is created, but SSH_ADD hangs until I CTRL-Y.  This then kills the subprocess and SSH_AGENT.  Did I miss something in the docs?  Thanks.&lt;BR /&gt;&lt;BR /&gt;I have a hobbyist system (VMS Alpha 7.3-2) running TCPIP for OpenVMS 5.4 ECO 5.  &lt;BR /&gt;&lt;BR /&gt;$ show user/full tbransco&lt;BR /&gt;      OpenVMS User Processes at  7-MAR-2007 19:13:32.26&lt;BR /&gt;    Total number of users = 1,  number of processes = 1&lt;BR /&gt; &lt;BR /&gt; Username  Process Name    PID     Terminal&lt;BR /&gt; TBRANSCO  TBRANSCO      00000228  TNA4:    (Host: GONDOR Port: 1707)&lt;BR /&gt;$ dir/owner/prot [.ssh2]identification.&lt;BR /&gt; &lt;BR /&gt;Directory DISK$USR:[TBRANSCO.SSH2]&lt;BR /&gt; &lt;BR /&gt;IDENTIFICATION.;3    [TBRANSCO]                       (RWD,RWD,R,R)&lt;BR /&gt; &lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;$ tcpip show service ssh&lt;BR /&gt; &lt;BR /&gt;Service             Port  Proto    Process          Address            State&lt;BR /&gt; &lt;BR /&gt;SSH                   22  TCP      TCPIP$SSH        0.0.0.0             Enabled&lt;BR /&gt;&lt;BR /&gt;$ ssh_agent&lt;BR /&gt;%DCL-S-SPAWNED, process TBRANSCO_36807 spawned&lt;BR /&gt;&lt;BR /&gt;$ show user/full tbransco&lt;BR /&gt;      OpenVMS User Processes at  7-MAR-2007 19:15:31.43&lt;BR /&gt;    Total number of users = 1,  number of processes = 2&lt;BR /&gt; &lt;BR /&gt; Username  Process Name      PID     Terminal&lt;BR /&gt; TBRANSCO  TBRANSCO        00000228  TNA4:    (Host: GONDOR Port: 1707)&lt;BR /&gt; TBRANSCO  TBRANSCO_36807  00000239  (subprocess of 00000228)&lt;BR /&gt;&lt;BR /&gt;$ show symbol/global ssh_add&lt;BR /&gt;  SSH_ADD*2 == "$SYS$SYSTEM:TCPIP$SSH_SSH-ADD2.EXE"&lt;BR /&gt;&lt;BR /&gt;$ ssh_add&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Mar 2007 22:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957765#M11750</guid>
      <dc:creator>Terrence Branscombe</dc:creator>
      <dc:date>2007-03-07T22:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957766#M11751</link>
      <description>&lt;!--!*#--&gt;I know nothing, but around here:&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show vers&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;alp $ show symb ssh*&lt;BR /&gt;  SSH*2 == "$SYS$SYSTEM:TCPIP$SSH_SSH2.EXE"&lt;BR /&gt;  SSH_ADD*2 == "$SYS$SYSTEM:TCPIP$SSH_SSH-ADD2.EXE"&lt;BR /&gt;  SSH_AGENT*2 == "SPAWN /NOWAIT RUN SYS$SYSTEM:TCPIP$SSH_SSH-AGENT2.EXE"&lt;BR /&gt;  SSH_KEYGEN*2 == "$SYS$SYSTEM:TCPIP$SSH_SSH-KEYGEN2.EXE"&lt;BR /&gt;&lt;BR /&gt;alp $ SSH_AGENT&lt;BR /&gt;%DCL-S-SPAWNED, process SMS_57148 spawned&lt;BR /&gt;&lt;BR /&gt;alp $ ssh_add&lt;BR /&gt;Adding identity: /alp$dka0/sms/ssh2/SMS_NPP_ID_DSA_1024_A.pub&lt;BR /&gt;&lt;BR /&gt;alp $ SSH_ADD -l&lt;BR /&gt;Listing identities.&lt;BR /&gt;The authorization agent has one key:&lt;BR /&gt;SMS_NPP_ID_DSA_1024_A: 1024-bit dsa, sms@alp.antinode.org, Thu Jul 24 2003 03:43&lt;BR /&gt;:07&lt;BR /&gt;&lt;BR /&gt;What's in your [.SSH2]IDENTIFICATION file?&lt;BR /&gt;&lt;BR /&gt;alp $ type [.SSH2]IDENTIFICATION.&lt;BR /&gt;IdKey SMS_NPP_ID_DSA_1024_A&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;&lt;BR /&gt;alp $ dire /date /prot /size [.SSH2]SMS_NPP_ID_DSA_1024_A&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS.SSH2]&lt;BR /&gt;&lt;BR /&gt;SMS_NPP_ID_DSA_1024_A.;1&lt;BR /&gt;                           2  23-JUL-2003 22:43:30.09  (RWD,RWD,,)&lt;BR /&gt;SMS_NPP_ID_DSA_1024_A.PUB;1&lt;BR /&gt;                           2  23-JUL-2003 22:43:30.25  (RWD,RWD,R,R)&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Mar 2007 23:02:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957766#M11751</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-03-07T23:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957767#M11752</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions.&lt;BR /&gt;&lt;BR /&gt;The content of my IDENTIFICATION file is correct, and the file protections on my private and public key are identical to yours.&lt;BR /&gt;&lt;BR /&gt;$ type [.ssh2]identification.&lt;BR /&gt;IdKey   RSA_2048_HPSSH_KEY&lt;BR /&gt;&lt;BR /&gt;$ dir/prot [.ssh2]rsa*;*&lt;BR /&gt; &lt;BR /&gt;Directory DISK$USR:[TBRANSCO.SSH2]&lt;BR /&gt; &lt;BR /&gt;RSA_2048_HPSSH_KEY.;1&lt;BR /&gt;                     (RWD,RWD,,)&lt;BR /&gt;RSA_2048_HPSSH_KEY.PUB;1&lt;BR /&gt;                     (RWED,RWED,R,R)&lt;BR /&gt;&lt;BR /&gt;There is also nothing in the output of ANALYZE/AUDIT indicating an access failure, nor anything suspect in OPERATOR.LOG.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Mar 2007 00:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957767#M11752</guid>
      <dc:creator>Terrence Branscombe</dc:creator>
      <dc:date>2007-03-09T00:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957768#M11753</link>
      <description>SOLVED, but it's a bit embarrassing.&lt;BR /&gt;&lt;BR /&gt;In an effort to discourage a recent surge in SSH and FTP login bots trying to break into my system I had locked down access to the network by specifying some specific hosts and my subnet here at home.  I had neglected to add LOCALHOST to my list, hence SSH_ADD could not access SSH_AGENT.  Joy.&lt;BR /&gt;&lt;BR /&gt;$ TCPIP SHOW CONFIGURATION COMMUNICATION/SECURITY &lt;BR /&gt;&lt;BR /&gt;Communication Security Configuration&lt;BR /&gt; &lt;BR /&gt;Allow Log:  None&lt;BR /&gt;Force Log:  None&lt;BR /&gt; &lt;BR /&gt;Security device:  Not defined&lt;BR /&gt; &lt;BR /&gt;Access lists&lt;BR /&gt; Accept host: LOCALHOST, xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy&lt;BR /&gt; Accept netw: 192.168.0.0:255.255.255.0&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Mar 2007 01:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957768#M11753</guid>
      <dc:creator>Terrence Branscombe</dc:creator>
      <dc:date>2007-03-09T01:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957769#M11754</link>
      <description>&lt;!--!*#--&gt;I still don't know anything likely to be&lt;BR /&gt;useful, but I see that my SSH_AGENT&lt;BR /&gt;subprocess has a couple of BG devices:&lt;BR /&gt;&lt;BR /&gt;alp $ SSH_AGENT&lt;BR /&gt;%DCL-S-SPAWNED, process SMS_40842 spawned&lt;BR /&gt;&lt;BR /&gt;alp $ show proc /all SMS_40842&lt;BR /&gt;[...]&lt;BR /&gt;Devices allocated:  BG2319:&lt;BR /&gt;                    BG2320:&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;and "show devi /full" on these things shows&lt;BR /&gt;"Operations completed" counts which increase&lt;BR /&gt;when I say "ssh_add".&lt;BR /&gt;&lt;BR /&gt;Perhaps you could learn something if you run&lt;BR /&gt;the agent manually with a "-d &lt;SOMETHING&gt;"&lt;BR /&gt;option:&lt;BR /&gt;&lt;BR /&gt;alp $ show symb SSH_AGENT&lt;BR /&gt;  SSH_AGENT*2 == "SPAWN /NOWAIT RUN SYS$SYSTEM:TCPIP$SSH_SSH-AGENT2.EXE"&lt;BR /&gt;&lt;BR /&gt;alp $ mcr SYS$SYSTEM:TCPIP$SSH_SSH-AGENT2.EXE -xxx&lt;BR /&gt;illegal option -- x&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-agent2.exe: unknown option 'x'.&lt;BR /&gt;Usage: ssh_agent [-d &lt;LEVEL-STRING&gt;]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What the "&lt;LEVEL-STRING&gt;" should be is a&lt;BR /&gt;mystery to me, but there should be a&lt;BR /&gt;document somewhere which offers some&lt;BR /&gt;guidance (hints?).&lt;BR /&gt;&lt;BR /&gt;More rambling guesswork follows.&lt;BR /&gt;&lt;BR /&gt;"tcpip show devi /full BG2320:" suggests that&lt;BR /&gt;mine's listening on 127.0.0.1:60593.  (Might&lt;BR /&gt;be an IP socket on VMS but a UNIX socket on&lt;BR /&gt;UNIX?)  Anyway, it might be doing a name&lt;BR /&gt;look-up on "localhost" or something to get&lt;BR /&gt;the "127.0.0.1" address, so if your DNS or&lt;BR /&gt;local HOSTS data base lacks that standard&lt;BR /&gt;item, that might bewilder someone.&lt;/LEVEL-STRING&gt;&lt;/LEVEL-STRING&gt;&lt;/SOMETHING&gt;</description>
      <pubDate>Fri, 09 Mar 2007 01:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957769#M11754</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-03-09T01:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957770#M11755</link>
      <description>Well, I was getting close.  If this&lt;BR /&gt;#(&amp;amp;$^#&amp;amp;(*$ forum were working properly, I&lt;BR /&gt;might have gotten my guess in before it was&lt;BR /&gt;complately too late.  Grrr.</description>
      <pubDate>Fri, 09 Mar 2007 01:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957770#M11755</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-03-09T01:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_add cannot connect to ssh_agent</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957771#M11756</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;That was a damn fine guess you made at the end of your post.  It would have led to the solution if I hadn't remembered my monkeying around with TCPIP COMM settings.&lt;BR /&gt;&lt;BR /&gt;Much appreciated,&lt;BR /&gt;&lt;BR /&gt;Terry</description>
      <pubDate>Fri, 09 Mar 2007 20:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-add-cannot-connect-to-ssh-agent/m-p/3957771#M11756</guid>
      <dc:creator>Terrence Branscombe</dc:creator>
      <dc:date>2007-03-09T20:05:08Z</dc:date>
    </item>
  </channel>
</rss>

