8

I have to connect to a server in another country. The person responsible provided me the IP address of the server and asked me if I could reach the that particular IP address through a regular access with ssh software?

What exactly should I do? How can I test this?

5
  • Move to Super User?
    – JamesBarnett
    Jan 12, 2011 at 6:29
  • Well, obviously my rep would tell you that I am new in here. You guys could have just suggested that instead of giving me downvotes. .. anyway thanks for the answer.
    – hashpling
    Jan 12, 2011 at 6:32
  • @Pavanred Indeed. I'm voting to move this to superuser.com. I'm thinking maybe some people don't know (or can't yet) vote to move someone to a different stackexchange site.
    – l0c0b0x
    Jan 12, 2011 at 6:45
  • If you just need to check if the port is open, you can just telnet to port 22 (telnet x.x.x.x 22) --telnet is available on WinXP by default, for Win7 you'll need to install it from control panel> programs & Features>"turn windows features on" (install telnet client)
    – l0c0b0x
    Jan 12, 2011 at 6:52
  • 1
    @Pavanred: you're not new in here, you've been a member for two months, and I think some of the negativity may be down to a complete absence of evidence of your having attempted to solve the problem yourself. If you'd tried to google "windows ssh", PuTTY would have come up top (Simon Tatham, the author, is quite proud of PuTTY's extreme googlability, and uses it as justification for not having a custom domain name for the project (see the PuTTY FAQ, A.9.1)). Honestly, your having made some effort to solve your problem first, and letting us know what it was, helps us all.
    – MadHatter
    Jan 12, 2011 at 7:26

2 Answers 2

10

You mention cmd so I'm guessing this is a windows machine. You need to install a program that supports ssh. Putty is a popular windows program that does.

From Putty's website:

In really simple terms: you run PuTTY on a Windows machine, and tell it to connect to (for example) a Unix machine. PuTTY opens a window. Then, anything you type into that window is sent straight to the Unix machine, and everything the Unix machine sends back is displayed in the window. So you can work on the Unix machine as if you were sitting at its console, while actually sitting somewhere else.

Putty download site Putty documentation

If that doesn't work check to see if a port is correctly forwarded. Go to You Get Signal type in the ip address of the server and port 22 (the standard ssh port) and click check.

9

Log on to your server and use the ssh command on your server to ssh to his computer. For exmaple:

ssh 192.168.10.1

if it connects, then yes you can ssh to his IP address.

4
  • Is this a linux machine or a windows machine? That will help determine what software needs to be installed. Jan 12, 2011 at 6:41
  • its a windows machine.
    – hashpling
    Jan 12, 2011 at 6:46
  • 1
    Follow JamesBarnett's advice on installing putty, then use that to connect to the IP address of the remote machine. Jan 12, 2011 at 6:47
  • What are the options for linux machine? Feb 25, 2017 at 22:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .