Solved

How to check for port 22 on a Linux Machine using SSH?

Posted on 2011-03-02
2
471 Views
Last Modified: 2012-05-11
Experts,

       I need the command to ssh into a Linux box and check to see if port 22 is open. Do I need PUTTY to ssh into a Linux box from a Win2k3 server?

Thanks, Missymadi
0
Comment
Question by:missymadi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
santoshmotwani earned 400 total points
ID: 35017536
run following command on linux :  netstat -nan | grep 22

you should expect this output  
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4324/sshd ( example)

If the command output return ‘LISTEN’, mean the particular port is open or listen on network.

Yes you can use putty to ssh into linux server
0
 
LVL 5

Assisted Solution

by:StefanKamp
StefanKamp earned 100 total points
ID: 35017544
Yes, putty would suit. Windows server doesn't normally come with an SSH client.

Br. Stefan
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question