<?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 logging question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324273#M47437</link>
    <description>VMS V7.3-2, TCP/IP V5.4 Eco 1&lt;BR /&gt;no change of the way audits work&lt;BR /&gt;&lt;BR /&gt;$ set audit/audit/enable=logfail=remote&lt;BR /&gt;--&amp;gt; login failures of set host and telnet&lt;BR /&gt;$ set audit/audit/enable=logfail=network&lt;BR /&gt;--&amp;gt; login failures of ssh&lt;BR /&gt;$ set audit/audit/enable=author&lt;BR /&gt;--&amp;gt; sysuaf modification of login fail count&lt;BR /&gt;Having set up this you get 2 audit entries containing all needed information: remote node, remote username, local username. PID/processname are the same in both event entries.&lt;BR /&gt;&lt;BR /&gt;That's the only way to find out what username the failed login tried to use due to the way SSH is implemented on VMS.</description>
    <pubDate>Wed, 07 Jul 2004 06:12:29 GMT</pubDate>
    <dc:creator>Eberhard Wacker</dc:creator>
    <dc:date>2004-07-07T06:12:29Z</dc:date>
    <item>
      <title>SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324269#M47433</link>
      <description>I have a question reguarding SSH logging.  In the past with telnet whenever a user produced a failed login the audit file would show me what username tried to login.  Now with SSH a failed login just shows up as TCPIP$SSH with a process name like TCPIP$SS_BG5198. &lt;BR /&gt;&lt;BR /&gt;Is there anyway I can find out what username the failed login tried to use?</description>
      <pubDate>Tue, 06 Jul 2004 11:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324269#M47433</guid>
      <dc:creator>Brian Reeves</dc:creator>
      <dc:date>2004-07-06T11:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324270#M47434</link>
      <description>Brian,&lt;BR /&gt;  What versions are you running? &lt;BR /&gt;&lt;BR /&gt;  When I give a bad password for an attempted SSH login, I get a "remote interative login faulure" audit with provess name "SSH server 1651" and the target username. I also get a SYSUAF record modification, incrementing login failures.&lt;BR /&gt;&lt;BR /&gt;  Make sure you have auditing (and alarms?) enabled for AUTHORIZATION and LOGFAIL=ALL.&lt;BR /&gt;&lt;BR /&gt;  Also make sure you have the latest version of SSH.</description>
      <pubDate>Tue, 06 Jul 2004 16:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324270#M47434</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-06T16:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324271#M47435</link>
      <description>John thank you very much for your reply.  We are running OpenVMS 7.32 and the version of SSH that comes with the installation CD's.  &lt;BR /&gt;&lt;BR /&gt;Here is what our monitoring looks like&lt;BR /&gt;System security audits currently enabled for:&lt;BR /&gt;&lt;BR /&gt;Audit:         illformed&lt;BR /&gt;Logfailure: batch,dialup,local,remote,network,subprocess,detached&lt;BR /&gt;&lt;BR /&gt;I am not sure exactly why audit: is showing up illformed.&lt;BR /&gt;&lt;BR /&gt;I have also attached the text from a failed login.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2004 16:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324271#M47435</guid>
      <dc:creator>Brian Reeves</dc:creator>
      <dc:date>2004-07-06T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324272#M47436</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt; I'm using an older version of SSH. It looks like they've changed the way audits work.&lt;BR /&gt;&lt;BR /&gt;  I'd suggest you enable a few more events:&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/ALARM/ENABLE=(authorization, -&lt;BR /&gt;breakin:all,login=all,logout=all)&lt;BR /&gt;&lt;BR /&gt;  Note that this will generate ALARMS to OPCOM terminals enabled for SECURITY. If you want messages written to the audit journal as well use:&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/AUDIT/ENABLE=&lt;WHATEVER&gt;&lt;BR /&gt;&lt;BR /&gt;  So, with those alarms enabled, please retry your login attempt, and catch the output of both the login itself, and any audit alarms that are generated.&lt;BR /&gt;&lt;BR /&gt;  You may not want to leave all those alarms enabled, or audit them all, but you may need to leave some of them turned on to get the exact information you want.&lt;BR /&gt;&lt;BR /&gt;  The "Audit: illformed:" means you will generate an audit message if the audit server receives an illformed request. This might indicate an attempt to confuse or crash the audit server, or it may be buggy software sending bad audit messages.&lt;BR /&gt;&lt;/WHATEVER&gt;</description>
      <pubDate>Tue, 06 Jul 2004 18:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324272#M47436</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-06T18:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324273#M47437</link>
      <description>VMS V7.3-2, TCP/IP V5.4 Eco 1&lt;BR /&gt;no change of the way audits work&lt;BR /&gt;&lt;BR /&gt;$ set audit/audit/enable=logfail=remote&lt;BR /&gt;--&amp;gt; login failures of set host and telnet&lt;BR /&gt;$ set audit/audit/enable=logfail=network&lt;BR /&gt;--&amp;gt; login failures of ssh&lt;BR /&gt;$ set audit/audit/enable=author&lt;BR /&gt;--&amp;gt; sysuaf modification of login fail count&lt;BR /&gt;Having set up this you get 2 audit entries containing all needed information: remote node, remote username, local username. PID/processname are the same in both event entries.&lt;BR /&gt;&lt;BR /&gt;That's the only way to find out what username the failed login tried to use due to the way SSH is implemented on VMS.</description>
      <pubDate>Wed, 07 Jul 2004 06:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324273#M47437</guid>
      <dc:creator>Eberhard Wacker</dc:creator>
      <dc:date>2004-07-07T06:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324274#M47438</link>
      <description>I am not totally sure that I follow you.&lt;BR /&gt;logfail=remote,network were already enabled.  I entered the "enable=author" command too.  &lt;BR /&gt;&lt;BR /&gt;However, I am only getting 1 audit entry on failures that I can see and it stills lists the username as tcpip$ssh, remote username as SSH_0A03044B, and the process name as TCPIP$SS_BG3204.  I'm not exactly sure how I can use this information to find out the "real username".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 07:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324274#M47438</guid>
      <dc:creator>Brian Reeves</dc:creator>
      <dc:date>2004-07-07T07:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324275#M47439</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;I have ssh version 2.4.1 on VMS 7.3 and have exactly the same result as you have.&lt;BR /&gt;&lt;BR /&gt;You can use accounting to find the remote username (using part of ssh_pid of the remote username).&lt;BR /&gt;&lt;BR /&gt;Bad implementation ?&lt;BR /&gt;&lt;BR /&gt;Do ssh "-V" to get your version.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 07 Jul 2004 09:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324275#M47439</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-07T09:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324276#M47440</link>
      <description>I am also running SSH 2.4.1.  This time I ran an SSH session in debug mode just out of curiosity.  There is one thing that is kind of disturbing, one of the lines in the debug is "Unable to open ssh2/identification" I am not sure if that is part of my problem or not.&lt;BR /&gt;&lt;BR /&gt;I have attached the text from my debug run.</description>
      <pubDate>Wed, 07 Jul 2004 09:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324276#M47440</guid>
      <dc:creator>Brian Reeves</dc:creator>
      <dc:date>2004-07-07T09:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324277#M47441</link>
      <description>I would check the installation notes again.&lt;BR /&gt;You are missing some part.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/ssh/ssh.pdf" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/ssh/ssh.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't get the message but I played with the config at the time (and my memory fails for the details of it).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 07 Jul 2004 09:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324277#M47441</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-07T09:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324278#M47442</link>
      <description>Brian, Wim,&lt;BR /&gt;&lt;BR /&gt;  It sounds like something has changed between the version I'm running (old!) and your version. When you eventually log in successfully, are the failed logins counted in the login message "nn login failures since last successful login"?&lt;BR /&gt;&lt;BR /&gt;  If the Audit messages aren't giving enough information, please log a case against your service contract and request an elevation to engineering.</description>
      <pubDate>Wed, 07 Jul 2004 16:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324278#M47442</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-07T16:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324279#M47443</link>
      <description>Brian, 2 events, first due to enable=auth, second due to enable=logfail&lt;BR /&gt;&lt;BR /&gt;W8$&lt;BR /&gt;%%%%%%%%%%%  OPCOM   7-JUL-2004 11:16:15.07  %%%%%%%%%%%&lt;BR /&gt;Message from user AUDIT$SERVER on MYNODE&lt;BR /&gt;Security alarm (SECURITY) and security audit (SECURITY) on MYNODE, system id: 15&lt;BR /&gt;20&lt;BR /&gt;Auditable event:          System UAF record modification&lt;BR /&gt;Event time:                7-JUL-2004 11:16:15.07&lt;BR /&gt;PID:                      00000142&lt;BR /&gt;Process name:             TCPIP$SS_BG4560&lt;BR /&gt;Username:                 TCPIP$SSH&lt;BR /&gt;Process owner:            [TCPIP$AUX,TCPIP$SSH]&lt;BR /&gt;Image name:               DSA800:[SYS0.SYSCOMMON.][SYSEXE]TCPIP$SSH_SSHD2.EXE&lt;BR /&gt;Object class name:        FILE&lt;BR /&gt;Object name:              SYS$COMMON:[SYSEXE]SYSUAF.DAT;1&lt;BR /&gt;User record:              LOCALUSER&lt;BR /&gt;Flags:                    New:      DEFCLI,bit_31&lt;BR /&gt;                          Original: DEFCLI,bit_31&lt;BR /&gt;Login failures:           New:      19&lt;BR /&gt;                          Original: 18&lt;BR /&gt;Posix UID:                -2&lt;BR /&gt;Posix GID:                -2 (%XFFFFFFFE)&lt;BR /&gt;&lt;BR /&gt;W8$&lt;BR /&gt;%%%%%%%%%%%  OPCOM   7-JUL-2004 11:16:15.13  %%%%%%%%%%%&lt;BR /&gt;Message from user AUDIT$SERVER on MYNODE&lt;BR /&gt;Security alarm (SECURITY) and security audit (SECURITY) on MYNODE, system id: 15&lt;BR /&gt;20&lt;BR /&gt;Auditable event:          Network login failure&lt;BR /&gt;Event time:                7-JUL-2004 11:16:15.13&lt;BR /&gt;PID:                      00000142&lt;BR /&gt;Process name:             TCPIP$SS_BG4560&lt;BR /&gt;Username:                 TCPIP$SSH&lt;BR /&gt;Remote node fullname:     SSH_PASSWORD:DS012345.DOM.COMPANY.COM&lt;BR /&gt;Remote username:          REMUSER&lt;BR /&gt;Status:                   %LOGIN-F-NOTVALID, user authorization failure&lt;BR /&gt;&lt;BR /&gt;W8$&lt;BR /&gt;&lt;BR /&gt;it's also ssh 2.4.1&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jul 2004 03:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324279#M47443</guid>
      <dc:creator>Eberhard Wacker</dc:creator>
      <dc:date>2004-07-09T03:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: SSH logging question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324280#M47444</link>
      <description>That is pretty much the results that I get.  I actually opened a case with HP so, it will be interesting to see what comes of it.&lt;BR /&gt;&lt;BR /&gt;Thanks all for your help</description>
      <pubDate>Fri, 09 Jul 2004 07:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-logging-question/m-p/3324280#M47444</guid>
      <dc:creator>Brian Reeves</dc:creator>
      <dc:date>2004-07-09T07:47:23Z</dc:date>
    </item>
  </channel>
</rss>

