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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Locked myself out after changing to port 202

Locked myself out after changing to port 202

Scheduled Pinned Locked Moved Solved Support
sshsecurityportsport202sshdconfig
3 Posts 2 Posters 619 Views 2 Watching
  • 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.
  • skinnylatteS Offline
    skinnylatteS Offline
    skinnylatte
    wrote on last edited by
    #1

    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
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      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.

      skinnylatteS 1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        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.

        skinnylatteS Offline
        skinnylatteS Offline
        skinnylatte
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • jamesJ james has marked this topic as solved
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search