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
  • Brite
  • 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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Locked out of logging in to my cloudron server via SSH!

Locked out of logging in to my cloudron server via SSH!

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 74 Views 3 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.
  • M
    M
    Mad_Mattho
    wrote last edited by
    #1

    Hi, please excuse me for such a basic question but I installed my cloudron on a local machine at home a few years ago, on a small intel nuc, and it has been working great.
    I haven't needed to or thought about logging directly into the server via ssh for years... initially I did as I had to set up cloudflare tunnels and installed the cloudron, then set up the disk mounts and some real basic stuff. After that I have always just used the cloudron web interface to manage everything and that works great...
    I now want to ssh into the server (to check out the status of a previously mounted portable drive I want to use as a volume, and update the cloudflare tunnel script which is way out of date)..
    It has been a while, 3 years since installing it, and I can't seem to find my root admin password for the server as I usually do everything from the cloudron web interface which I still have my admin login for, and which is usually all I need to log in to.

    Are my cloudron users also users on that server, i.e. Are my cloudron admins also server admins, are they able to login directly to that server by default or not?

    i.e. I am using a command line such as "ssh username@192.168.1.10" ( the server's IP address) from a terminal on the local network, ssh seems to connect but I keep getting rejected as passwords are not being accepted...
    If not I think I have lost my root admin password for the server, rooky mistake, yeah pretty sure I have lost/forgotten it!!!
    If that is the case, then what should I do if that is the case, if I am now locked out of the server..., just keep making backups via the web interface until my server eventually dies and then load those backups straight into a new cloudron server that I should make on a new machine when the old machine finally dies?
    Any help is appreciated, was surprised when I realised I hadn't seemed to have saved the server admin pasword in my password manager app!!!
    \

    1 Reply Last reply
    1
    • jamesJ james marked this topic as a regular topic
    • jamesJ james moved this topic from Support
    • jamesJ
      jamesJ
      james
      Staff
      wrote last edited by
      #2

      Hello @mad_mattho

      This is not really a support topic regarding Cloudron more so generic Linux hosting administration support.
      I have moved to the topic to the @help-wanted-or-offered category.
      But I'll provide some assistance nonetheless.

      @Mad_Mattho said:

      Are my cloudron users also users on that server, i.e. Are my cloudron admins also server admins, are they able to login directly to that server by default or not?

      No. Cloudron users are not Linux users on the server itself.


      Restoring root access on a system you have lost all access to is possible, but needs some manual work.
      Here is a good guide from the Ubuntu discourse: https://discourse.ubuntu.com/t/how-to-reset-ubuntu-server-password-using-live-cd-in-bare-metal-or-hypervisor/55745

      1 Reply Last reply
      2
      • J joseph moved this topic from Help Wanted or Offered
      • J
        J
        joseph
        Staff
        wrote last edited by
        #3

        I recently had to do exactly what @james said. Roughly, the idea is to boot from a flash drive. Then, identify your root disk and put your ssh keys in <mount>/root/.ssh/authorized_keys . Reboot, that's it!

        1 Reply Last reply
        2

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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