Results 1 to 5 of 5

Thread: SSH running but cannot be opened by putty, mobax etc

  1. #1
    Join Date
    Apr 2018
    Beans
    2

    Smile SSH running but cannot be opened by putty, mobax etc

    Hi all,

    nubie here to asking about ubuntu...

    Sorry if my english not good, I installed iso ubuntu who include the DVWA server. I tried to login via ssh port 22 but fail "network error: software caused connection abort", then I try to telnet my server by command prompt with 22 port and success "SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4". My firewal is inactive (https://ibb.co/j4dkRx
    ) and fyi that I'm using ubuntu 10.04.


    I also tried run /etc/init.d/ssh restart, and there were messages :
    could not load host key: /etc/ssh/ssh_host_rsa_key
    could not load host key: /etc/ssh/ssh_host_dsa_key


    What should I do? thank you for your help
    Last edited by dave2011; April 22nd, 2018 at 06:53 AM.

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,809
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: SSH running but cannot be opened by putty, mobax etc

    Thread moved to Server Platforms for a more appropriate fit.

  3. #3
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: SSH running but cannot be opened by putty, mobax etc

    Ubuntu 10.04 is extremely old and has not received security updates for YEARS.

    You should consider that server a security risk and look to replace it with Ubuntu 16.04 (or very soon-to-be 18.04)

    The auto-generated keys it came with might have simply expired.

    Have you tried re-generating a set of keys?

    Code:
    ssh-keygen -A
    LHammonds

  4. #4
    Join Date
    Apr 2018
    Beans
    2

    Re: SSH running but cannot be opened by putty, mobax etc

    yeah, I already read it from the forum but couldn't run ssh-keygen -A... there a message that ssh-keygen: illegal option --A

    Thank you...

  5. #5
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: SSH running but cannot be opened by putty, mobax etc

    Be very careful with each character. The command posted by LHammonds said -A and in your post the error message says --A (double dash). Did you run it with one or two?

    But I agree, use a more recent, supported LTS version like 16.04 (18.04 comes out next Thursday). I wouldn't use 10.04 even if you manage to resolve the ssh error.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Bookmarks

Posting Permissions

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