- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What does "is port 22 open on your system mean?"?
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
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
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-08-2004 06:02 AM
тАО03-08-2004 06:02 AM
.."Is port 22 (ssh) open on your system?"
I have had this trouble with them in the past. What does he mean?
Apparently the Windows admins can "disable" a port, so that Windows won't send/respond on that port.
The network people can also disable passage of data on a port to/from a server in the firewall.
But I have no idea how to do that on HP-UX.
To me a port is a port, and if we define entries in /etc/services and /etc/inetd.conf, then someone will respond to it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:07 AM
тАО03-08-2004 06:07 AM
Re: What does "is port 22 open on your system mean?"?
If you do not need it, comment it out of /etc/inetd.conf, do an 'inetd -c' and it could then be considered "closed".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:08 AM
тАО03-08-2004 06:08 AM
Re: What does "is port 22 open on your system mean?"?
strange question. ssh should be the preferrable method of conneting to hosts, so why would your network guy have it closed?
At any port ther must someone to listen, otherwise the port is dead. /etc/inetd.conf is important. I wonder, if services is important at all.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:09 AM
тАО03-08-2004 06:09 AM
Re: What does "is port 22 open on your system mean?"?
Is it an HP product, or is it from one of those download sites?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:10 AM
тАО03-08-2004 06:10 AM
Re: What does "is port 22 open on your system mean?"?
I don't know if there is a software firewall available for HP-UX. You can take ports out of /etc/services, but that doesn't turn off the port in the strictest sense.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:12 AM
тАО03-08-2004 06:12 AM
Re: What does "is port 22 open on your system mean?"?
Have a look here:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:13 AM
тАО03-08-2004 06:13 AM
Re: What does "is port 22 open on your system mean?"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:16 AM
тАО03-08-2004 06:16 AM
Re: What does "is port 22 open on your system mean?"?
Heres where you can download the precompiled stuff:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.7.1p2/
Theres windows clients you can download too like puty and ftp clients like WinSCP.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:19 AM
тАО03-08-2004 06:19 AM
SolutionDo a 'telnet localhost 22' and if you see any output other than 'connection refused' then this port is open. Otherway is to do 'netstat -an |grep ".22" |grep LISTEN' can show you if the tcp port at 22 is opened or not. This is used by ssh as already mentioned.
Having the entry in /etc/services doesn't necessarily mean the port is open. Not having an entry in /etc/inetd.conf doesn't mean the port is not opened. Most of the SSH installations are standalone servers instead brokered by inetd.
I have seen security admins running a scan on the system and report all the open ports as security vulnerabilities without paying much attention to what each port does. This may be one of such cases.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 06:29 AM
тАО03-08-2004 06:29 AM
Re: What does "is port 22 open on your system mean?"?
We don't have SSH installed, nor do we have anybody listening/responding on port 22.
I guess they were asking because they want to move in the "SSH" direction..
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:12 AM
тАО03-09-2004 01:12 AM
Re: What does "is port 22 open on your system mean?"?
Windows does not have a way to close ports any more then any of the UNIXI. Ports can be in one of 3 states: open, closed, or drop. Open ports mean the system has some kind of process watching this port and responding. Closed means there is no application watching this port, so the system sends NACK (or RST, I forget)*. Drop is a special case where an application (or the system) is specifically ignoring a port and does not send any response, as if the system did not exist.
Unix system actually have an easier time of port management, as there are tools like netstat that function... strangely... under windows.
Your windows guy is asking if you have the SSH (happens to be port 22) service (deamon, etc..) accepting connections.
*NACK= Negative ACKnowledgement; RST = ReSeT connection.