HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A good guild for installing SSH with TCP Wrappers
Operating System - HP-UX
1834253
Members
1877
Online
110066
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
07-14-2003 10:33 AM
07-14-2003 10:33 AM
A good guild for installing SSH with TCP Wrappers
I have the SSH depot as well as the TCP Wrapper depot from the HP site.
I'm new to using either of these and wonder if anyone has a good guide that would show me how to TCP Wrap SSH correctly.
Thanks
I'm new to using either of these and wonder if anyone has a good guide that would show me how to TCP Wrap SSH correctly.
Thanks
Eagles may soar but weasels don't get sucked into jet engines.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 10:45 AM
07-14-2003 10:45 AM
Re: A good guild for installing SSH with TCP Wrappers
Secure Shell Configuration
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/T1471-90005/T1471-90005_top.html&con=/hpux/onlinedocs/T1471-90005/00/00/11-con.html&toc=/hpux/onlinedocs/T1471-90005/00/00/11-toc.html&searchterms=Shell%7cConfiguration%7cSecure&queryid=20030714-124242
TCP Wrapper
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5969-4315/5969-4315_top.html&con=/hpux/onlinedocs/5969-4315/00/00/4-con.html&toc=/hpux/onlinedocs/5969-4315/00/00/4-toc.html&searchterms=Wrapper%7cConfiguration%7cTCP&queryid=20030714-124330
Impact: TCP Wraper(itrc thread).
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd01936e69499d611abdb0090277a778c,00.html&qt=TCP+%2BWrapper+%2BConfiguration&hit=1
Also attaching a doc on exhanging public keys.
SEP
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/T1471-90005/T1471-90005_top.html&con=/hpux/onlinedocs/T1471-90005/00/00/11-con.html&toc=/hpux/onlinedocs/T1471-90005/00/00/11-toc.html&searchterms=Shell%7cConfiguration%7cSecure&queryid=20030714-124242
TCP Wrapper
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5969-4315/5969-4315_top.html&con=/hpux/onlinedocs/5969-4315/00/00/4-con.html&toc=/hpux/onlinedocs/5969-4315/00/00/4-toc.html&searchterms=Wrapper%7cConfiguration%7cTCP&queryid=20030714-124330
Impact: TCP Wraper(itrc thread).
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd01936e69499d611abdb0090277a778c,00.html&qt=TCP+%2BWrapper+%2BConfiguration&hit=1
Also attaching a doc on exhanging public keys.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 10:53 AM
07-14-2003 10:53 AM
Re: A good guild for installing SSH with TCP Wrappers
Hi Travis,
There are two cases to configure ssh with tcp_wrappers.
1. If it is already compiled with tcp_wrappers. Then it will respond to /etc/hosts.allow and /etc/hosts.deny files. Put the following line in
/etc/hosts.deny
ALL: ALL
If the SSH was precompiled with tcp_wrappers, then it should deny all connections to ssh with a message in syslog.log
If so, then edit /etc/hosts.allow and add the entries like
sshd: .yourdomain.com otherhost.otherdomain.com
etc.,
it will allow connections only from any host from your domain and only other host from other domain.
If ssh does not respond to hosts.deny file, then you will need to configure in inetd.conf to make the 'tcpd' as the proxy to your sshd in the following way.
2. Configure your ssh in the following way
ssh stream tcp nowait root /opt/tcp_wrappers/sbin/tcpd /opt/openssh2/sbin/sshd
Try the above test again with hosts.deny and hosts.allow
However, running sshd through inetd will slow your ssh connections and it is not preferred.
Look at tcp_wrappers man page to find the format of hosts.allow and hosts.deny files.
-Sri
There are two cases to configure ssh with tcp_wrappers.
1. If it is already compiled with tcp_wrappers. Then it will respond to /etc/hosts.allow and /etc/hosts.deny files. Put the following line in
/etc/hosts.deny
ALL: ALL
If the SSH was precompiled with tcp_wrappers, then it should deny all connections to ssh with a message in syslog.log
If so, then edit /etc/hosts.allow and add the entries like
sshd: .yourdomain.com otherhost.otherdomain.com
etc.,
it will allow connections only from any host from your domain and only other host from other domain.
If ssh does not respond to hosts.deny file, then you will need to configure in inetd.conf to make the 'tcpd' as the proxy to your sshd in the following way.
2. Configure your ssh in the following way
ssh stream tcp nowait root /opt/tcp_wrappers/sbin/tcpd /opt/openssh2/sbin/sshd
Try the above test again with hosts.deny and hosts.allow
However, running sshd through inetd will slow your ssh connections and it is not preferred.
Look at tcp_wrappers man page to find the format of hosts.allow and hosts.deny files.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:18 AM
07-14-2003 11:18 AM
Re: A good guild for installing SSH with TCP Wrappers
Thanks for the info guys. I'm going to get to digesting all of it.
Travis
Travis
Eagles may soar but weasels don't get sucked into jet engines.
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