Solved

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

Posted on 2011-03-02
2
467 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PoE Injector and switch 2 53
HP Storage and Cisco Nexus 4 73
unix shell script 4 40
3Com 4500G doesn't keep IP configuration 4 13
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

738 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