HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem in configuring sshd in inetd.
Operating System - Linux
1830227
Members
2657
Online
109999
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
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
12-21-2005 08:31 PM
12-21-2005 08:31 PM
Problem in configuring sshd in inetd.
Hello,
I want to remove sshd startup from RC script and put itin inetd.conf (tcp wrapper).
I have changed /etc services,hosts.allow,inetd.conf files as shown bellow. And killed the running sshd and pkill -HUP inetd. But it didnt work.
bwga507:/etc # uname -a
Linux bwga507 2.4.21-138-smp #1 SMP Fri Oct 31 00:51:31 UTC 2003 i686 unknown
bwga507:/etc # cat /etc/inetd.conf|grep ssh
ssh stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sshd -i
bwga507:/etc # cat /etc/hosts.allow|grep ssh
sshd : ALL : ALLOW
bwga507:/etc # cat /etc/services |grep ssh
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
Anything missing?
Could anyone help me on this?
I want to remove sshd startup from RC script and put itin inetd.conf (tcp wrapper).
I have changed /etc services,hosts.allow,inetd.conf files as shown bellow. And killed the running sshd and pkill -HUP inetd. But it didnt work.
bwga507:/etc # uname -a
Linux bwga507 2.4.21-138-smp #1 SMP Fri Oct 31 00:51:31 UTC 2003 i686 unknown
bwga507:/etc # cat /etc/inetd.conf|grep ssh
ssh stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sshd -i
bwga507:/etc # cat /etc/hosts.allow|grep ssh
sshd : ALL : ALLOW
bwga507:/etc # cat /etc/services |grep ssh
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
Anything missing?
Could anyone help me on this?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 09:12 PM
12-21-2005 09:12 PM
Re: Problem in configuring sshd in inetd.
I see no reason to change anything with sshd.
It is compiled with tcp wrapper.
and after simply putting a line like:
sshd: ALL
in /etc/hosts.deny
you'll prevent access to it
It is compiled with tcp wrapper.
and after simply putting a line like:
sshd: ALL
in /etc/hosts.deny
you'll prevent access to it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 11:11 PM
12-21-2005 11:11 PM
Re: Problem in configuring sshd in inetd.
As Alexaner sayd, tcpwrappers are enabled in the sshd daemon even when it starts as a service.
ldd /usr/sbin/sshd
libwrap.so.0 => /usr/lib/libwrap.so.0 (0x00880000)
The libwrap enables the use of tcpwrappers.
ldd /usr/sbin/sshd
libwrap.so.0 => /usr/lib/libwrap.so.0 (0x00880000)
The libwrap enables the use of tcpwrappers.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 11:37 PM
12-21-2005 11:37 PM
Re: Problem in configuring sshd in inetd.
Shalom,
sshd needs to be running to accept ssh client requests.
If the real purpose is to integrate sshd with tcp wrappers this can be done directly.
SEP
sshd needs to be running to accept ssh client requests.
If the real purpose is to integrate sshd with tcp wrappers this can be done directly.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP