-1

I have problem with connection to the virtual server. I always get connection refused and I don't know how to solve it.


I installed bitnami wordpress on virutal machine(VirutalBox). This working great. I can see wordpress site in browser on ip address which is showed in virtual machine when it is run. So if I good understand, I have now a local webserver created on virtual machine.


I tried access to the phpmyadmin through the secure ssh tunel using putty as in tutorial:

Connect To PhpMyAdmin : https://docs.bitnami.com/aws/faq/get-started/access-phpmyadmin/ I installed putty(ssh client), then I open it and start configured ssh tunel as in tutorial.

Precondition from tutorial:

  • my server ip adress is:192.168.5.9
  • bitnami default password is bitnami
  • server is configured with public key (so i genereted private key by puttygen)

Configuration ssh tunel in putty:

  • I entered IP adress of my server in the "Host name" and saved session fields

  • I also add private key ppk which I generated in puttygen application

  • Then I go to the Connection -> SSH -> Tunnels. Enter 8888 as "Source port" , Enter "localhost:80" as destination and click "Add"

  • I go to the Connection -> Data and Enter "bitnami" in auto-login fields

  • Then I go back to the Session and click "Save" to save the configuration.

  • Then I click Open to Open SSH session

  • I get message Connection refused

The connection was refused, but I don't know how to solve it.


I checked:

  1. SSH server is installed

  2. SSH Service Status is condition failed - Condition check resulted in OpenBSD Secure Shell server being skipped

4
  • Doesn't the "SSH Service Status is condition failed" pretty much answer your question? Commented Oct 4, 2023 at 11:57
  • That, and as I have already commented on your original Stack Overflow post, you have obviously problems connecting to the virtual server at all. So please do not complicate the question with PhpMyAdmin/tunnel. Commented Oct 4, 2023 at 12:20
  • @u1686_grawity it is answer on question: why it doesn't work, but I don't know how to solve it.
    – detector
    Commented Oct 4, 2023 at 17:13
  • Given your answer, that means the service wasn't running. Was there a part of the guides you followed that had you start the service? Commented Oct 10, 2023 at 14:58

1 Answer 1

-1

I don't know what was wrong with this condition, but sudo service ssh start solve this problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .