Find the answer to your Linux question:
Results 1 to 3 of 3
Scenario: Machine A is Windows. Machine B is Ubuntu. A and B are connected into a router which is connected into a cable switch. Thus they have the same external ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    4

    SSH with Cygwin... HELP!

    Scenario:

    Machine A is Windows.
    Machine B is Ubuntu.

    A and B are connected into a router which is connected into a cable switch. Thus they have the same external IP.

    Using either cygwin or putty I can't seem to ssh into my Ubuntu machine.

    Some tests that I have done is look at which ports Machine B is listening to... port 22 is one of them. I have ssh, openssh-client and openssh-server installed.

    From my ubuntu machine I can ssh to myself by using localhost, 127.0.0.1 or my 192.168.x.x address.

    However, if I try that very same 192.168.x.x. on the Windows machine, there is a long pause and then finally it times out.

    So B can ssh to B, A cannot ssh to B, and A cannot ssh to A.

    Can anyone help me fix this problem?

    I have also gone into the router and opened up port 22.

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Quote Originally Posted by TUCSSA View Post
    However, if I try that very same 192.168.x.x. on the Windows machine, there is a long pause and then finally it times out.
    Am I understanding correctly that both machines have the exact same internal ip address? For instance, both have 192.168.1.101? If so you should assign each machine a different static ip and that should clear things up if I'm understanding the problem correctly. If it is a problem where you are trying to ssh to each of the machines from outside the network then things get a little more complicated.
    Last edited by Dapper Dan; 05-31-2010 at 12:08 AM.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    4
    Sorry for not clarifying. Linux machine is 192.168.0.2 while the Windows Vista machine is 192.168.1.101

    Also, Linux is listening for port 22 but now I'm not so sure that port 22 is open. An internet scan said that port 22 is stealth... and I'm not sure I know what role that plays in this situation.

    Thank you for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...