Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Cannot connect to my ubuntu server

  1. #11
    Join Date
    Mar 2021
    Beans
    11

    Re: Cannot connect to my ubuntu server

    I have a new problem that is most likely causing the problem:

    When I run the command:
    Code:
    systemctl status ssh
    it gives an error code looking like this:
    Code:
    System has not been booted with systemd as init system (PID 1). Can't operate.
    Failed to connect to bus: Host is down
    [/
    Last edited by nitchgamingstudios; March 8th, 2021 at 11:24 PM.

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Cannot connect to my ubuntu server

    On a patched, 20.04 desktop,
    Code:
    $ systemctl status ssh
    ● ssh.service - OpenBSD Secure Shell server
         Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: en>
         Active: active (running) since Sat 2021-02-27 12:51:13 EST; 1 weeks 2 days >
           Docs: man:sshd(8)
                 man:sshd_config(5)
       Main PID: 876 (sshd)
          Tasks: 1 (limit: 4615)
         Memory: 9.4M
         CGroup: /system.slice/ssh.service
                 └─876 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
    .....
    is what you'll see.

    Are you on Ubuntu?

  3. #13
    Join Date
    Mar 2021
    Beans
    11

    Re: Cannot connect to my ubuntu server

    To clarify, I am running a dual boot system and I am not using Ubuntu desktop, but I am using the Ubuntu server.

  4. #14
    Join Date
    Mar 2021
    Beans
    11

    Re: Cannot connect to my ubuntu server

    Quote Originally Posted by TheFu View Post
    On a patched, 20.04 desktop,
    Code:
    $ systemctl status ssh
    ● ssh.service - OpenBSD Secure Shell server
         Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: en>
         Active: active (running) since Sat 2021-02-27 12:51:13 EST; 1 weeks 2 days >
           Docs: man:sshd(8)
                 man:sshd_config(5)
       Main PID: 876 (sshd)
          Tasks: 1 (limit: 4615)
         Memory: 9.4M
         CGroup: /system.slice/ssh.service
                 └─876 sshd: /usr/sbin/sshd -D
    [listener] 0 of 10-100 startups
    .....
    is what you'll see.

    Are you on Ubuntu?
    I am using the WSL and it's a dual boot system, with windows running on a separate partition from Ubuntu, but on the same drive. I am not using the desktop version but I am using the server version. Do you think I should switch over to the desktop version?

  5. #15
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Cannot connect to my ubuntu server

    Maybe I have become daft in my seventh decade, but you say you are using WSL ... and Ubuntu is installed in a dual boot. Which is it?

    Or are you thinking that you can be running Windows and SSH into the Ubuntu installation on the same machine? Or to WSL? Or are you trying to SSH from WSL? Are you trying to SSH to a different machine entirely?

    Is it a dual boot or a virtual machine?
    Last edited by QIII; March 9th, 2021 at 05:54 AM.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  6. #16
    Join Date
    Mar 2021
    Beans
    11

    Re: Cannot connect to my ubuntu server

    It's a dual boot, and I am using WSL to connect to the ubuntu server from windows

  7. #17
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Cannot connect to my ubuntu server

    If you have a dual-boot then when you're running Windows you aren't running Ubuntu therefore nothing to connect to.

  8. #18
    Join Date
    Mar 2021
    Beans
    11

    Re: Cannot connect to my ubuntu server

    Ahh ok thanks

  9. #19
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Cannot connect to my ubuntu server

    Thread moved to Server Platforms.

  10. #20
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Cannot connect to my ubuntu server

    Yep, dual boot means one or the other...never both at the same time.

    You can run Windows, install VirtualBox and create a virtual machine with Ubuntu Server inside of it (using Bridged network adaptor) and you can use Windows to connect to Ubuntu Server which is running in a sub-process of Windows but separately as if on another machine.

    You could also install Proxmox as a hypervisor on the machine, then install Windows as a virtual machine and Ubuntu Server as a virtual machine. Be warned that your Windows license would think it was installing onto a different machine because the machine would have different hardware (Proxmox hardware layer). So if you have Windows license that is "retail" then you can do it with no issue but if you have "oem", it won't activate.

    LHammonds
    Last edited by LHammonds; March 9th, 2021 at 04:38 PM.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •