- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP Secure Shell and tcp wrappers
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
08-01-2007 07:12 AM
08-01-2007 07:12 AM
I installed T1471AA A.04.50.004 HP-UX Secure Shell on Itanium server running HP-UX 11.23.
The documentation says that the libwrap.a archive library is linked to HP-UX Secure Shell, but I do not see that:
coci161(root):/opt/ssh/etc > ldd /opt/ssh/sbin/sshd
libpam.so.1 => /usr/lib/hpux64/libpam.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
libnsl.so.1 => /usr/lib/hpux64/libnsl.so.1
libxnet.so.1 => /usr/lib/hpux64/libxnet.so.1
libsec.so.1 => /usr/lib/hpux64/libsec.so.1
libgssapi_krb5.so => /usr/lib/hpux64/libgssapi_krb5.so
libkrb5.so => /usr/lib/hpux64/libkrb5.so
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libxti.so.1 => /usr/lib/hpux64/libxti.so.1
libxti.so.1 => /usr/lib/hpux64/libxti.so.1
libm.so.1 => /usr/lib/hpux64/libm.so.1
libk5crypto.so => /usr/lib/hpux64/libk5crypto.so
libcom_err.so => /usr/lib/hpux64/libcom_err.so
libk5crypto.so => /usr/lib/hpux64/libk5crypto.so
libcom_err.so => /usr/lib/hpux64/libcom_err.so
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
coci161(root):/opt/ssh/etc >
I try to use the access control files, to restrict ssh connections to this server to a limited number of hosts.
Right now I can give access to all hosts by having sshd:ALL in /etc/hosts.allow. ( my /etc/hosts.deny has only ALL:ALL)
If I put sshd: host1, host2 in /etc/hosts.allow I could not ssh from host1 and host2 to the server in question.
What am I missing here?
Thank you,
Elena.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 08:39 AM
08-01-2007 08:39 AM
Re: HP Secure Shell and tcp wrappers
# what /usr/sbin/sshd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 09:02 AM
08-01-2007 09:02 AM
Re: HP Secure Shell and tcp wrappers
coci161(root):/opt/ssh/etc > what /usr/sbin/sshd
/usr/sbin/sshd:
$HP-UX Secure Shell: sshd.c,vA.04.50.004 ,TCP Wrappers: v7.6-ipv6.4, Zlib: v1.2.3 2007/05/16 $
$OpenSSL A.00.09.07l.001 $
coci161(root):/opt/ssh/etc >
So, what is the problem? In my /etc/hosts.allow I have a line:
sshd: cocn01
But this is a message I am getting:
cocn01(root):/etc> ssh coci161
ssh_exchange_identification: Connection closed by remote host
cocn01(root):/etc>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 03:56 PM
08-01-2007 03:56 PM
Re: HP Secure Shell and tcp wrappers
$ ldd /opt/ssh/sbin/sshd
ldd only lists shared libs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:51 PM
08-01-2007 07:51 PM
SolutionFind the IP address of your cocn01 host. If it's e.g. 111.222.333.444, then run "nslookup 111.222.333.444" on the coci161 host.
If the command cannot resolve the hostname from the IP address, you probably have a problem with _reverse_ DNS. (Sometimes the normal DNS records are spotlessly maintained, but the reverse DNS records are forgotten. This is a DNS admin mistake that is seen fairly often.)
If the nslookup command can resolve the hostname of cocn01 from the IP address, try writing the hostname to the /etc/hosts.allow file in exactly the same form as returned by the nslookup command. Sometimes the short name is not completely equivalent to the fully-qualified hostname (i.e. with the domain name included).
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 12:32 AM
08-02-2007 12:32 AM
Re: HP Secure Shell and tcp wrappers
Thank you very much!