<?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 parameter UserLoginLimit does not seem to work in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169661#M94240</link>
    <description>&lt;!--!*#--&gt;We had a requirement to shutdown all of Telnet to our server and implement SSH exclusively. &lt;BR /&gt;&lt;BR /&gt;(2) ES40 Type 1 EV6 500Mhz 2GB&lt;BR /&gt;OpenVMS 7.3-2, TCPIP 5.4 ECO 7 (Currently)&lt;BR /&gt;Order/Entry Applicaion written in DEC BASIC (starting in about 1992 on VAX, I think parts were in COBOL but that was before my time here)&lt;BR /&gt;&lt;BR /&gt;We have been using the MAXJOBS parameter in UAF to limit users to a single login by setting the value to 1. Our primary application is very simple and used for Order/Entry. This worked well for us and our application.&lt;BR /&gt;&lt;BR /&gt;Utilizing SSH we ran into an issue. No one could logon. What we discovered is that during login authentication, 2 jobs were running during the login event itself for SSH and users were logged in and promptly logged out. We changed MAXJOBS to 2 or (n+1 where n is the number of logins we limit the bulk of the users to). Here is a snipit of SSH verbose output when MAXJOBS is set to 1.&lt;BR /&gt;&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:372: Received SSH_CROSS_ALGORITHMS packet from co.&lt;BR /&gt;debug: Unable to open ssh2/identification&lt;BR /&gt;debug: Ssh2AuthClient/SSHAUTHC.C:348: Method 'publickey' disabled.&lt;BR /&gt;debug: Ssh2AuthPasswdClient/AUTHC-PASSWD.C:198: Starting password query...&lt;BR /&gt;uno4791's password: &lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:290: Received SSH_CROSS_AUTHENTICATED packet from.&lt;BR /&gt;Authentication successful.&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:723: num_channels now 1&lt;BR /&gt;debug: DISPLAY not set; X11 forwarding disabled.&lt;BR /&gt;&lt;BR /&gt;MAXJOB at n manifests here&lt;BR /&gt;&lt;BR /&gt;debug: Ssh2ChannelSession/SSHCHSESSION.C:1912: received exit signal. signal num"&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:697: num_channels now 0&lt;BR /&gt;debug: Got session close with exit_status=0&lt;BR /&gt;debug: destroying client struct...&lt;BR /&gt;Connection to localhost closed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The n+1 for MAXJOBS has worked well to keep our customers happy and has kept the audit teams happy as well.&lt;BR /&gt;&lt;BR /&gt;For those users that require a greater value in MAXJOBS for reporting, mutiple logins, etc. we haven't had any problems using n+1 and they are the exception here.&lt;BR /&gt;&lt;BR /&gt;PS: We have about 3000 users on this server of which 150-350 will be logged in simultaneously daily.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Don Nutt &lt;BR /&gt;Sprint</description>
    <pubDate>Thu, 16 Apr 2009 15:07:07 GMT</pubDate>
    <dc:creator>Don Nutt</dc:creator>
    <dc:date>2009-04-16T15:07:07Z</dc:date>
    <item>
      <title>SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169659#M94238</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;SSH parameter UserLoginLimit does not seem to work.&lt;BR /&gt;If I set UserloginLimit = 1 in the demon config, and reboot or restart, I still can login several times under 1 username.&lt;BR /&gt;&lt;BR /&gt;still, the release notes of latest TCPIP ECOs (5.4 ECO7 and 5.6 ECO3) say in the list of solved problems:&lt;BR /&gt;&lt;BR /&gt;13-Jun-2007&lt;BR /&gt;&lt;BR /&gt; Problem:&lt;BR /&gt; &lt;BR /&gt; The SSH server configuration parameter UserLoginLimit was ignored.&lt;BR /&gt; &lt;BR /&gt; Deliverables:&lt;BR /&gt;&lt;BR /&gt; All SSH images&lt;BR /&gt;&lt;BR /&gt; Reference:&lt;BR /&gt;&lt;BR /&gt; TCPIP_BUGS Note 3591&lt;BR /&gt;&lt;BR /&gt;Anybody have an idea?</description>
      <pubDate>Wed, 15 Apr 2009 08:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169659#M94238</guid>
      <dc:creator>Jan van den Boogaard_1</dc:creator>
      <dc:date>2009-04-15T08:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169660#M94239</link>
      <description>RIng up HP. &lt;BR /&gt;&lt;BR /&gt;Looks like the parameter is still being ignored.  (A wag might comment the release note didn't say it was "fixed".)   &lt;BR /&gt;&lt;BR /&gt;ssh is not particularly tied into the OpenVMS security and authentication mechanisms.&lt;BR /&gt;&lt;BR /&gt;As a work-around, use the OpenVMS mechanisms or use some local tests in SYLOGIN.COM or LOGIN.COM.</description>
      <pubDate>Wed, 15 Apr 2009 10:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169660#M94239</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-04-15T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169661#M94240</link>
      <description>&lt;!--!*#--&gt;We had a requirement to shutdown all of Telnet to our server and implement SSH exclusively. &lt;BR /&gt;&lt;BR /&gt;(2) ES40 Type 1 EV6 500Mhz 2GB&lt;BR /&gt;OpenVMS 7.3-2, TCPIP 5.4 ECO 7 (Currently)&lt;BR /&gt;Order/Entry Applicaion written in DEC BASIC (starting in about 1992 on VAX, I think parts were in COBOL but that was before my time here)&lt;BR /&gt;&lt;BR /&gt;We have been using the MAXJOBS parameter in UAF to limit users to a single login by setting the value to 1. Our primary application is very simple and used for Order/Entry. This worked well for us and our application.&lt;BR /&gt;&lt;BR /&gt;Utilizing SSH we ran into an issue. No one could logon. What we discovered is that during login authentication, 2 jobs were running during the login event itself for SSH and users were logged in and promptly logged out. We changed MAXJOBS to 2 or (n+1 where n is the number of logins we limit the bulk of the users to). Here is a snipit of SSH verbose output when MAXJOBS is set to 1.&lt;BR /&gt;&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:372: Received SSH_CROSS_ALGORITHMS packet from co.&lt;BR /&gt;debug: Unable to open ssh2/identification&lt;BR /&gt;debug: Ssh2AuthClient/SSHAUTHC.C:348: Method 'publickey' disabled.&lt;BR /&gt;debug: Ssh2AuthPasswdClient/AUTHC-PASSWD.C:198: Starting password query...&lt;BR /&gt;uno4791's password: &lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:290: Received SSH_CROSS_AUTHENTICATED packet from.&lt;BR /&gt;Authentication successful.&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:723: num_channels now 1&lt;BR /&gt;debug: DISPLAY not set; X11 forwarding disabled.&lt;BR /&gt;&lt;BR /&gt;MAXJOB at n manifests here&lt;BR /&gt;&lt;BR /&gt;debug: Ssh2ChannelSession/SSHCHSESSION.C:1912: received exit signal. signal num"&lt;BR /&gt;debug: Ssh2Common/SSHCOMMON.C:697: num_channels now 0&lt;BR /&gt;debug: Got session close with exit_status=0&lt;BR /&gt;debug: destroying client struct...&lt;BR /&gt;Connection to localhost closed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The n+1 for MAXJOBS has worked well to keep our customers happy and has kept the audit teams happy as well.&lt;BR /&gt;&lt;BR /&gt;For those users that require a greater value in MAXJOBS for reporting, mutiple logins, etc. we haven't had any problems using n+1 and they are the exception here.&lt;BR /&gt;&lt;BR /&gt;PS: We have about 3000 users on this server of which 150-350 will be logged in simultaneously daily.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Don Nutt &lt;BR /&gt;Sprint</description>
      <pubDate>Thu, 16 Apr 2009 15:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169661#M94240</guid>
      <dc:creator>Don Nutt</dc:creator>
      <dc:date>2009-04-16T15:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169662#M94241</link>
      <description>Hello Don,&lt;BR /&gt;&lt;BR /&gt;Many thanks for sharing your experience with the forum community! For our sites it might be an alternative way to use MAXJOBS (with care).&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 16 Apr 2009 15:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169662#M94241</guid>
      <dc:creator>Jan van den Boogaard_1</dc:creator>
      <dc:date>2009-04-16T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169663#M94242</link>
      <description>We looked into this approach some time ago. Our problem was a popular bit of software with a limited number of license credits, and we didn't want someone logging in ten times to run ten copies of this particular tool.  If the users were of a particular login type, they would always consume some credits whether they used it or not, and the cost of boosting the license was, at the time, deemed unacceptable.  (Meaning nobody wanted to pay for it...)&lt;BR /&gt;&lt;BR /&gt;We found that the best way to limit those users, though also possibly the clunkiest, was to have a little code snippet in SYLOGIN.COM that looks up the user name to see if that user was in the class that had the restrictions.  If so, perform a&lt;BR /&gt;&lt;BR /&gt;$ SHOW USER username/OUT=a-temporary-file&lt;BR /&gt;&lt;BR /&gt;Then read the output to see how many jobs the user had (counting this one, of course). You can tell how many interactive, batch, and other jobs this user has in one line.  Then apply your restriction rules.&lt;BR /&gt;&lt;BR /&gt;Our system is smaller in user count than yours, so for us it wasn't such a long test to perform.  If you do it right, it is almost invisible.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169663#M94242</guid>
      <dc:creator>Richard W Hunt</dc:creator>
      <dc:date>2009-04-16T15:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSH parameter UserLoginLimit does not seem to work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169664#M94243</link>
      <description>UserLoginLimit DOES work. When TCPIP V5.6 ECO3 or V5.4 ECO7 is installed. The username SYSTEM is an EXCEPTION !! Which makes sense.&lt;BR /&gt;In case of other usernames, as soon as you hit the limit, VMS says "access denied", but doesnt say why. Which also makes sense.&lt;BR /&gt;&lt;BR /&gt;Case closed.</description>
      <pubDate>Fri, 17 Apr 2009 17:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-parameter-userloginlimit-does-not-seem-to-work/m-p/5169664#M94243</guid>
      <dc:creator>Jan van den Boogaard_1</dc:creator>
      <dc:date>2009-04-17T17:40:08Z</dc:date>
    </item>
  </channel>
</rss>

