• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 500
  • Last Modified:

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

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
missymadi
Asked:
missymadi
2 Solutions
 
santoshmotwaniCommented:
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
 
StefanKampCommented:
Yes, putty would suit. Windows server doesn't normally come with an SSH client.

Br. Stefan
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now