Results 1 to 2 of 2

Thread: Kali 2.0 refuses incoming ssh connections

  1. #1
    Join Date
    2013-Mar
    Location
    IXE
    Posts
    13

    Kali 2.0 refuses incoming ssh connections

    Hi, all

    When i try to ssh Kali Linux from a cent OS server which is installed inside virtual i get a network unreachable error, however when i ssh from Kali to cent OS it works

    [root@skorpinok ~] # ssh [email protected]
    ssh:connect to host 192.168.1.123 port 22: Network is Unreachable

    i check the Kali Linux ssh status, it shows its already listening on port 22

    root@kaliLinux:# service ssh start

    root@kaliLinux:# systemctl status ssh
    ● ssh.service - OpenBSD Secure Shell server
    Loaded: loaded (/lib/systemd/system/ssh.service; enabled)
    Active: active (running) since Sat 2016-01-02 10:35:28 GST; 1min 9s ago
    Main PID: 2310 (sshd)
    CGroup: /system.slice/ssh.service
    └─2310 /usr/sbin/sshd -D

    Jan 02 10:35:28 kaliLinux sshd[2310]: Server listening on 0.0.0.0 port 22.
    Jan 02 10:35:28 kaliLinux sshd[2310]: Server listening on :: port 22

    Am using kali linux 2.0 ( 64 Bit) installed directly to hard disk, virtual box is installed inside kali. network settings between CentOS server & kali host has been enabled as - Host only Adapter for security reasons because CentOS server has two vulnerable web apps DVWA & Mutillidae.

    any suggestions how to fix this ?


    Regards
    Skorpinok

  2. #2
    Join Date
    2015-Dec
    Location
    Iran
    Posts
    11
    portforward on the router. so every connection through port 22 gets to that IP from which you are listening on. to check if it's open go to http://www.yougetsignal.com/tools/open-ports/ and select port 22. remember you must be listening on the port while you check it. else the port stays closed. hope it helps

Similar Threads

  1. Why is port 111 listening for incoming connections from any IP?
    By hijax in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2019-11-22, 19:28
  2. Kali refuses to keep static IP!
    By whoiskamryn in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2014-02-11, 11:52

Posting Permissions

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