Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-03-02
2
Medium Priority
?
491 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 1600 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 400 total points
ID: 35017544
Yes, putty would suit. Windows server doesn't normally come with an SSH client.

Br. Stefan
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

824 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