shell from ISPConfig UI?

Discussion in 'General' started by TonyG, Oct 7, 2020.

  1. TonyG

    TonyG Active Member

    With full acknowledgement of the security concerns, I'm curious if there is a way to execute a shell command from the ISPConfig UI - to perform some action without having to open a terminal emulator.

    Wanna laugh?
    I was just racing through a new installation with temp passwords. To allow SFTP with PureFTPd with a user that also has shell access, I set
    /etc/ssh/sshd_config with PasswordAuthentication Yes. Then of course after a restart, even when using a SSH2 private key I needed to enter a password, which I didn't have. So yeah, I locked myself out of my root/ubuntu users. Changing grub at boot time doesn't get around this.

    OK, I won't do that again - I actually skipped a step in my own script that should have prevented that. :D

    I don't need coaching on the SSH. I'm just asking if there is any way to shell down with root privs from anywhere in the UI ... consider this a security question and let's pretend I didn't tell you about the dumb mistake I made. In the meantime, I think I'll install a new server...

  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    It did happen to me when I started using vps while all the time before that I run servers only at home.

    However, I was lucky to learn that Hertzner has that web console and with a few click, I did get back into my vps to clean up my mess.

    So, I'd advise that if you use vps, find vps service provider with that ability instead.
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    This is not possible currently.

    There is a feature request:
    ahrasis likes this.

Share This Page