Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, host - Ubuntu 1004 64-bit VM - Debian 504 64 bit virtualizer - VBox Oracle Host can ping VM but can't ssh connect it. $ ping -c1 192.168.0.241 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787

    ssh connection problem


    Hi folks,

    host - Ubuntu 1004 64-bit
    VM - Debian 504 64 bit
    virtualizer - VBox Oracle

    Host can ping VM but can't ssh connect it.

    $ ping -c1 192.168.0.241
    Code:
    PING 192.168.0.241 (192.168.0.241) 56(84) bytes of data.
    From 192.168.0.1: icmp_seq=1 Redirect Host(New nexthop: 192.168.0.1)
    64 bytes from 192.168.0.241: icmp_seq=1 ttl=64 time=12.2 ms
    
    --- 192.168.0.241 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 12.237/12.237/12.237/0.000 ms
    $ ssh 192.168.0.241
    Code:
    ssh: connect to host 192.168.0.241 port 22: Connection refused
    $ ssh satimis@192.168.0.241
    Code:
    ssh: connect to host 192.168.0.241 port 22: Connection refused
    openssh-server/client are running on the VM


    Host can ssh connect another Debian VM on this virtual machine with "ssh user@local_ip. Please help. TIA


    B.R.
    satimis

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    In this case it will be firewalled in some or the other way.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787
    Quote Originally Posted by Kloschüssel View Post
    In this case it will be firewalled in some or the other way.
    Hi,

    It is NOT the firewall. It was caused by mixing lenny and sqeeze repo, including several other problems. I'm going to delete this VM. Thanks

    B.R.
    satimis

Posting Permissions

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