HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH MaxJobs
Operating System - OpenVMS
1828006
Members
2182
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 03:36 AM
03-01-2005 03:36 AM
I disabled telnet on all our systems last night as we've deployed SSH capabilities to all of our systems and users. This morning, 14 users were able to log into one node, after which connections were rejected.
I tracked the %LOGIN-F-USEREXC in the Operator.log back to the MaxJobs setting for TCPIP$SSH. The as-installed value was 10; I bumped it up to 64 in the theory that it should closely match out interactive login limit. Why a MaxJobs of 10 resulted in 14 successful logins is beyond me at this time, but users are now able to log in successfully.
I've searched the docu for info regarding the proper adjustment of this value for the TCPIP$SSH account, but I've not found any reference to it. Does anyone know of any suggestions or references for this specific application? I'm especially curious due to the lack of correspondence between the 14 SSH logins I saw versus the MaxJobs setting of 10 -- it's obviously not a one-for-one mapping.
Oh, btw, TCP/IP Services v5.4, ECO 4.
TIA,
Aaron
I tracked the %LOGIN-F-USEREXC in the Operator.log back to the MaxJobs setting for TCPIP$SSH. The as-installed value was 10; I bumped it up to 64 in the theory that it should closely match out interactive login limit. Why a MaxJobs of 10 resulted in 14 successful logins is beyond me at this time, but users are now able to log in successfully.
I've searched the docu for info regarding the proper adjustment of this value for the TCPIP$SSH account, but I've not found any reference to it. Does anyone know of any suggestions or references for this specific application? I'm especially curious due to the lack of correspondence between the 14 SSH logins I saw versus the MaxJobs setting of 10 -- it's obviously not a one-for-one mapping.
Oh, btw, TCP/IP Services v5.4, ECO 4.
TIA,
Aaron
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 10:24 AM
03-01-2005 10:24 AM
Solution
Aaron,
I'm surprised you have a non-zero MaxJobs - perhaps that's a site specific default? The OOTB default is 0.
If you want to limit SSH connections, the "expected" way to do it is via the service limits in TCPIP:
$ TCPIP SHOW SERVICE SSH/FULL
$ TCPIP SET SERVICE SSH/LIMIT=n
I'd recommend setting TCPIP$SSH MaxJobs to 0. Let TCPIP control the service limit and the individual user MaxJobs control the users.
I'm guessing that the lack of documentation is it never occurred to anyone that the TCPIP$SSH account would have a non-zero MaxJobs value.
As for the 14/10 discrepancy... remember that it's maxJOBS, not maxPROCESSES. From a quick look it appears that SSH creates some kind of controller process running under TCPIP$SSH, probably to do all the encryption and decryption stuff. I'd guess there's an optimization where multiple incoming sessions can be handled by the same process. Guessing further, maybe it's per host?, per user? So, that would mean MaxJobs=10 would allow up to 10 HOST connections, or 10 USERNAMES connected before a failure. That's just a guess, but I'm sure the explanation will be along those lines.
In any case, if it was thought that MaxJobs was a useful control knob for SSH, it would be documented. It isn't, so don't waste time trying to figure out the details, just don't use it. :-)
I'm surprised you have a non-zero MaxJobs - perhaps that's a site specific default? The OOTB default is 0.
If you want to limit SSH connections, the "expected" way to do it is via the service limits in TCPIP:
$ TCPIP SHOW SERVICE SSH/FULL
$ TCPIP SET SERVICE SSH/LIMIT=n
I'd recommend setting TCPIP$SSH MaxJobs to 0. Let TCPIP control the service limit and the individual user MaxJobs control the users.
I'm guessing that the lack of documentation is it never occurred to anyone that the TCPIP$SSH account would have a non-zero MaxJobs value.
As for the 14/10 discrepancy... remember that it's maxJOBS, not maxPROCESSES. From a quick look it appears that SSH creates some kind of controller process running under TCPIP$SSH, probably to do all the encryption and decryption stuff. I'd guess there's an optimization where multiple incoming sessions can be handled by the same process. Guessing further, maybe it's per host?, per user? So, that would mean MaxJobs=10 would allow up to 10 HOST connections, or 10 USERNAMES connected before a failure. That's just a guess, but I'm sure the explanation will be along those lines.
In any case, if it was thought that MaxJobs was a useful control knob for SSH, it would be documented. It isn't, so don't waste time trying to figure out the details, just don't use it. :-)
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 01:28 AM
03-02-2005 01:28 AM
Re: SSH MaxJobs
I've confirmed the setting of 10 on the Default account, so you nailed it. Your advice is reasonable, so I'll follow it and set MaxJobs to 0. I did notice that the TCPIP service limit was 10,000, way more than adequate for our site.
Thanks for your time,
Aaron
Thanks for your time,
Aaron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP