1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Ssh port problem !!!

Discussion in 'Plesk 9.x for Linux Suggestions and Feedback' started by NEW Visions, Feb 18, 2010.

  1. NEW Visions

    NEW Visions Guest

    0
     
    Hi, I change the ssh config to port 443 for security reasons..... and now I can't login with port 443 or 22 !!!
    I think there is somthing with the firewall not open in that port or my ISP block my 443 connection.... I'm a little lost about that....
    How can I edit the ssh config file again WITHOUT SSH connection???? How can I restore SSHD default config file from Plesk control panel?
    I have Plesk 9.3 on CentOs.
    Thanks! it´s urgent!
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    443 port is used for https connections and you shouldn't use it for any other purposes!
    I'm afraid that you can fix it only with direct access to server if you haven't ssh access.
     
  3. NEW Visions

    NEW Visions Guest

    0
     
    I don't have direct access..... I have all the plesk can give me :(
    How can I solve this please?
    Making some php scrtipt? some crontab script? something? I'm not an expert but please guide me!
    Thanks
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You can try stop httpd service via Plesk interface now and start sshd. The problem in conflict between these two services. All customer's sites will be down but you will be able login via ssh to 443 port and revert 22 back in sshd config file. After that restart httpd ad sshd services via Plesk interface.
     
  5. NEW Visions

    NEW Visions Guest

    0
     
    ok, and how can i start sshd service with plesk?
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Create scheduled task for root with following command:

    /etc/init.d/sshd start

    And note, that Apache should be stopped when you will start sshd.
     
  7. NEW Visions

    NEW Visions Guest

    0
     
    thanks! it's solved!!!!
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I'm glad to hear it :)
     
Loading...