Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now