Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Locked myself out after changing to port 202

    Support
    ssh security ports port202 sshdconfig
    2
    3
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • skinnylatte
      skinnylatte last edited by

      Hi,

      I locked myself out of SSH after changing to port 202 (I know your docs say to be sure not to do that...)!

      I use OVHCloud and can access in rescue mode.

      Any thoughts on how I can approach fixing this?

      I'll be using rescue mode for the first time. I can mount any of the partitions, but I can't see the sshd_config file I edited (I suppose because I'm logged in as a different rescue user).

      I'm stuck after that.

      • list item
      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Not sure how exactly the OVH rescue mode works, but maybe you have to mount the original root filesystem first?

        Do you have any extra firewall setup? The default one on Cloudron will allow port 202, so if you have another firewall via OVH or so, maybe open that port? Otherwise if you can reach the ssh server itself, but can't login, you can also try to enable remote SSH support for us https://docs.cloudron.io/support/#remote-support and send us mail with your IP address to support@cloudron.io and we can see if we can fix something.

        Furher some server providers also offer VNC style terminal to the system, that usually works without SSH so might be an option for you if OVH provides this.

        skinnylatte 1 Reply Last reply Reply Quote 1
        • Topic has been marked as a question  nebulon nebulon 
        • skinnylatte
          skinnylatte @nebulon last edited by

          @nebulon Thank you, I will investigate today and let you know.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB