Help to setup SSH connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pyrytus
    Junior Member
    • Aug 2004
    • 4

    #1

    Help to setup SSH connection

    Hello everybody,


    I tried to follow instructions of this post

    Question: Is direct connection to Dathorn MySQL server possible, without need to use web style admin? Answer: Yes, but... For security reasons native remote direct connection to MySQL server is disabled. So, you cannot use MySQLFront or other similar MySQL admin application to connect directly. However, since there


    in order to setup a SSH connection via plink.exe, but plink seems to crash immediately and returns to c: prompt.

    I have also tried to open a tunnel using puTTY 0.53b, it doesn't work too, but this time I have in return an error messagebox stating "connection closed by remote host".

    puTTY log is empty except for the line
    ~=~= PuTTY log 2004.08.25 19:17:32 ~=~=

    What am I doing wrong?
    Does anybody know when "connection closed by remote host" error happens? (incorrect user? misconfigured client? Service is not running on the server?)

    I am Using Windows XP, with a DSL connection.

    Thanks in advance
    pyrytus (Italy)
  • openbox
    Senior Member
    • Mar 2004
    • 238

    #2
    Can you normally connect via port 22 using SSH?

    Comment

    • pyrytus
      Junior Member
      • Aug 2004
      • 4

      #3
      I made a telnet on port 22, server returned

      "SSH-1.99-OpenSSH_3.5p1"


      Then I don't know what to do, but server seems to be listening.

      Thanks
      pyrytus

      Comment

      • openbox
        Senior Member
        • Mar 2004
        • 238

        #4
        Try using your PuTTY client to actually verify your connection, not telnet just to see the port responding.

        Silly question, but do you have the database set up and are you using the correct username/password?

        Comment

        • pyrytus
          Junior Member
          • Aug 2004
          • 4

          #5
          Thank you very much for the hint.

          I tried a SSH connection with no tunneling and i had this message back:


          Shell access is not enabled on your account!
          If you need shell access please contact support.


          I suppose I need to submit a trouble ticket.

          Thanks
          pyrytus

          Comment

          • openbox
            Senior Member
            • Mar 2004
            • 238

            #6
            Originally posted by pyrytus
            I suppose I need to submit a trouble ticket.
            Edit your package for the domain and add SSH access. You have control of allowing SSH access or not via your WHM.

            Comment

            • djn
              Senior Member
              • Mar 2004
              • 140

              #7
              Another little thing that can go wrong: if you have your own IP address it will not connect; you must tell plink to connect to the general IP. Took me a while to understand why I couldn't get in.

              Comment

              • pyrytus
                Junior Member
                • Aug 2004
                • 4

                #8
                Originally posted by openbox
                Edit your package for the domain and add SSH access. You have control of allowing SSH access or not via your WHM.
                Great it works!
                Thank you very much.

                pyrytus

                Comment

                Working...