- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kernel parameter for sshd devices
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-14-2006 08:16 PM
03-14-2006 08:16 PM
kernel parameter for sshd devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 08:20 PM
03-14-2006 08:20 PM
Re: kernel parameter for sshd devices
configure /etc/profile as,
ps | grep -q 'telnet'
if [[ ${?} -eq 0 ]]
then
echo "Please use ssh. Telnet access is denied"
sleep 3
exit 1
fi
will do it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 08:22 PM
03-14-2006 08:22 PM
Re: kernel parameter for sshd devices
Easy method is, comment telnetd service in /etc/inetd.conf,
#telnet stream tcp nowait root /usr/lbin/telnetd telnetd
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 08:24 PM
03-14-2006 08:24 PM
Re: kernel parameter for sshd devices
http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html
May be nstrpty, npty is needed.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 08:25 PM
03-14-2006 08:25 PM
Re: kernel parameter for sshd devices
Check this thread,
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949625
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 08:34 PM
03-14-2006 08:34 PM
Re: kernel parameter for sshd devices
I do not think there is such things as sshd devices.
sshd man page didn't mention it.
you may run out of process, but if you already have 300 telnet user, you won't run out of process for 300 ssh user.
Jean-Yves Picard
You didn't ask for it, but since every one seems to give advice ...
see my answer on how to disable telnet with a warning message in http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1004287
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 08:59 PM
03-15-2006 08:59 PM
Re: kernel parameter for sshd devices
ssh uses normal pseudo terminal devices (pts/_number_)
The number of these devices is configured with the kernel parameters npty and nstrpty.
You may need to create new devices if you increase these values like
/sbin/insf -d ptym -n XX
/sbin/insf -d ptys -n XX
/sbin/insf -d pts -s XX
see man ioscan for details.
My 2 cents,
Armin
PS: Please assign points if you find answers useful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 10:34 PM
03-15-2006 10:34 PM
Re: kernel parameter for sshd devices
Bye