Results 1 to 2 of 2

Thread: SSH command does not work

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2020-Apr
    Posts
    1

    SSH command does not work

    Hi everyone,

    OS version: Linux Kali 5.4.0-kali4-amd64 #1 SMP Debian 5.4.19-1kali1 (2020-02-17) x86_64 GNU/Linux

    I have an issue with SSH on my Kali machine.

    when i press: # ssh Y@X.X.X.X , nothing happens. for exmaple:
    root@Kali:~# ssh roi@1.1.1.1
    root@Kali:~#

    root@Kali:~# service sshd status
    root@Kali:~#

    root@Kali:# ssh -i id_rsa webadmin@1.1.1.1
    root@Kali:#


    When i check the service if it is up or down i see the following:
    root@Kali:~# service --status-all
    [ + ] ssh
    [ + ] sshguard
    [ - ] sslh
    [ + ] stunnel4

    i also tried to edit the /etc/ssh/sshd_config:
    #LoginGraceTime 2m
    #PermitRootLogin yes
    # StrictModes yes
    #MaxAuthTries 6
    #MaxSession 10






    i checked in the /var/log/auth.log:
    sshd[6447]: Server listening on 0.0.0.0 port 22.
    sshd[6447]: Server listening on :: port 22
    sshd[6447]: Received signal 15; terminating

    so the services are up, the root can run SSH, everything seems to be ok but when i run the #ssh command, as you can see.. nothing happens.
    i am not sure if the "signal 15" is the issue, but something make the SSH command to not work properly.

    i tried to uninstall and install again, tried update, upgrade as well.. nothing help to resolve the issue, so i am not sure what am i missing here.

    any ideas?
    please assist me, i am desperate

  2. #2
    Join Date
    2020-Jun
    Posts
    2
    Very similar issue with me, except when I hit enter I don even get the next line prompt cursor. It just seems to be waiting with no response whatsoever.
    # ssh root@xxx.xx.xx.x


    NOTHING...

    Both machines are pinging eachother. port 22 was commented out in the sshd_config file, which I uncommented and still no response.

    Good luck mate!

Tags for this Thread

Posting Permissions

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