ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't SSH to Ubuntu Server 14.04.3 LTS on XenServer

    Scheduled Pinned Locked Moved IT Discussion
    23 Posts 5 Posters 2.7k Views
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      Is the firewall properly configured for SSH on the Ubuntu VM?

      A 2 Replies Last reply Reply Quote 0
      • A
        Alex Sage @DustinB3403
        last edited by Alex Sage

        @DustinB3403 Huh? I have to configure something?

        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @DustinB3403
          last edited by

          @DustinB3403 With CentOS I just install and go....

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            Yeah.... I'd compare it to installing Microsoft Word, you have to install it before you can use it...

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Depending on which version of CentOS you're using sure, but in any distro you have to specify what you want installed.

              Did you select SSH Server during the installation?

              A 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @DustinB3403
                last edited by

                @DustinB3403 Doh.....

                DustinB3403D 1 Reply Last reply Reply Quote 1
                • DustinB3403D
                  DustinB3403 @Alex Sage
                  last edited by

                  @anonymous said:

                  @DustinB3403 Doh.....

                  Simple answer.

                  You should be able to install it with the CLI. I don't know the commands off hand but I'm certain it starts with

                  sudo apt-get install
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    Alex Sage
                    last edited by

                    I have 99 reasons I hate Ubuntu.....

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage
                      last edited by

                      It is:

                      sudo apt-get install openssh-server
                      
                      1 Reply Last reply Reply Quote 1
                      • A
                        Alex Sage
                        last edited by

                        Who uses Ubuntu without SSH?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          Well IDK, but it's built to be used by a wide range of people... so it's easier to have the tech savvy select what they want, they to choose a base for everyone and force them to maintain it..

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Alex Sage
                            last edited by

                            @anonymous said:

                            Who uses Ubuntu without SSH?

                            The DevOps world 🙂

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @Alex Sage
                              last edited by

                              @anonymous said:

                              @DustinB3403 With CentOS I just install and go....

                              CentOS is super easy for general use. Ubuntu is very complex and hard for general use. They are not comparable.

                              dafyreD 1 Reply Last reply Reply Quote 0
                              • dafyreD
                                dafyre @scottalanmiller
                                last edited by

                                @scottalanmiller said:

                                @anonymous said:

                                @DustinB3403 With CentOS I just install and go....

                                CentOS is super easy for general use. Ubuntu is very complex and hard for general use. They are not comparable.

                                It depends on what you are used to dealing with. I don't have ti disable apparmor to diagnose issues in Ubuntu. I do have to disable SELinux to test issues in the CentOS world. I am still more comfortable running a Ubuntu server than I am a CentOS box, but I haven't come up against anything a quick google usually doesn't fix.

                                scottalanmillerS stacksofplatesS 2 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @dafyre
                                  last edited by

                                  @dafyre said:

                                  @scottalanmiller said:

                                  @anonymous said:

                                  @DustinB3403 With CentOS I just install and go....

                                  CentOS is super easy for general use. Ubuntu is very complex and hard for general use. They are not comparable.

                                  It depends on what you are used to dealing with. I don't have ti disable apparmor to diagnose issues in Ubuntu. I do have to disable SELinux to test issues in the CentOS world. I am still more comfortable running a Ubuntu server than I am a CentOS box, but I haven't come up against anything a quick google usually doesn't fix.

                                  Sure, it has that one additional step. But turn that off one time and there you go. You could negate that with sudo on ubuntu.

                                  dafyreD 1 Reply Last reply Reply Quote 0
                                  • dafyreD
                                    dafyre @scottalanmiller
                                    last edited by dafyre

                                    @scottalanmiller said:

                                    @dafyre said:

                                    @scottalanmiller said:

                                    @anonymous said:

                                    @DustinB3403 With CentOS I just install and go....

                                    CentOS is super easy for general use. Ubuntu is very complex and hard for general use. They are not comparable.

                                    It depends on what you are used to dealing with. I don't have ti disable apparmor to diagnose issues in Ubuntu. I do have to disable SELinux to test issues in the CentOS world. I am still more comfortable running a Ubuntu server than I am a CentOS box, but I haven't come up against anything a quick google usually doesn't fix.

                                    Sure, it has that one additional step. But turn that off one time and there you go. You could negate that with sudo on ubuntu.

                                    I'm usually running in sudo -i on whatever Linux distro I am troubleshooting at the time, lol. Typing sudo all the time drives me crazy.

                                    Edit: But you are right. But why simply disable tools that are built to make your system more secure?

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @dafyre
                                      last edited by

                                      @dafyre said:

                                      Edit: But you are right. But why simply disable tools that are built to make your system more secure?

                                      Because if you are choosing one distro because it has that off by default, why not choose the other one and disable it? The logic of "why disable it" would equally mean "avoid Ubuntu."

                                      dafyreD 1 Reply Last reply Reply Quote 1
                                      • dafyreD
                                        dafyre @scottalanmiller
                                        last edited by

                                        @scottalanmiller True. However, in Ubuntu, I generally don't have to disable AppArmor, as it isn't quite as spastic about security as SELinux.

                                        (forgive my ignorance here, but aren't AppArmor and SELinux two different ways of doing the same thing? Don't want to be comparing apples & oranges).

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          Yes, AppArmor is the Suse way, SELinux is the Red Hat way.

                                          1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @dafyre
                                            last edited by stacksofplates

                                            @dafyre said:

                                            @scottalanmiller said:

                                            @anonymous said:

                                            @DustinB3403 With CentOS I just install and go....

                                            CentOS is super easy for general use. Ubuntu is very complex and hard for general use. They are not comparable.

                                            It depends on what you are used to dealing with. I don't have ti disable apparmor to diagnose issues in Ubuntu. I do have to disable SELinux to test issues in the CentOS world. I am still more comfortable running a Ubuntu server than I am a CentOS box, but I haven't come up against anything a quick google usually doesn't fix.

                                            The nice thing about SELinux is if you check /var/messages it usually tells you exactly what you need to do. Same on Fedora, the SELinux troubleshooting gui will pretty much give you commands to copy and paste.

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post