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

    Solved OpenSSH installed, but cannot use SCP

    IT Discussion
    linux centos 6.7 ssh scp openssh centos rhel rhel 6 centos 6
    7
    44
    7.9k
    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.
    • K
      Kelly @stacksofplates
      last edited by

      @johnhooks said:

      @Kelly said:

      No joy. I'm still getting the same output when I run just scp or which scp.

      On both servers or just one?

      I'm trying to copy from my MBP to the server, and I'm just getting that on the remote server.

      1 Reply Last reply Reply Quote 0
      • K
        Kelly @JaredBusch
        last edited by

        @JaredBusch said:

        @scottalanmiller said:

        Code blocks is just for spaces at the beginning of a line.

        That is a shortcut for single line.

        A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.

        code block

        J 1 Reply Last reply Reply Quote 0
        • K
          Kelly
          last edited by Kelly

          Other code block
          
          1 Reply Last reply Reply Quote 1
          • J
            JaredBusch @Kelly
            last edited by

            @Kelly said:

            @JaredBusch said:

            @scottalanmiller said:

            Code blocks is just for spaces at the beginning of a line.

            That is a shortcut for single line.

            A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.

            code block

            Yeah if you do not put them on separate lines, it acts like a normal single backtick for a bit of inline code.

            1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller @Kelly
              last edited by

              @Kelly said:

              @scottalanmiller said:

              What is the history on this remote server? What was installed, what modified since it was put in?

              Brand new, clean install. The only thing I've done on it is run updates.

              Wow, so weird.

              1 Reply Last reply Reply Quote 0
              • S
                stacksofplates
                last edited by

                https://www.centos.org/forums/viewtopic.php?t=5153 This person had the same issue

                Is there an openssh-clients package to install? I don't have a 6.7 server running to test on.

                S K 2 Replies Last reply Reply Quote 0
                • S
                  scottalanmiller @stacksofplates
                  last edited by

                  @johnhooks said:

                  https://www.centos.org/forums/viewtopic.php?t=5153 This person had the same issue

                  Is there an openssh-clients package to install? I don't have a 6.7 server running to test on.

                  There is one, yes.

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

                    Oh yes, that appears to be missing.

                    1 Reply Last reply Reply Quote 0
                    • K
                      Kelly
                      last edited by

                      I ran across that forum post as well, but both the OpenSSH-client and OpenSSH-server packages are installed.

                      R S 2 Replies Last reply Reply Quote 0
                      • R
                        RamblingBiped @Kelly
                        last edited by

                        @Kelly It looks like they instruct to install openssh-clients in the final response at the bottom of the thread (as opposed to openssh-client). Have you attempted that?

                        S 1 Reply Last reply Reply Quote 1
                        • S
                          scottalanmiller @Kelly
                          last edited by

                          @Kelly said:

                          I ran across that forum post as well, but both the OpenSSH-client and OpenSSH-server packages are installed.

                          -client is not in the list that you posted.

                          1 Reply Last reply Reply Quote 0
                          • S
                            scottalanmiller @RamblingBiped
                            last edited by

                            @RamblingBiped said:

                            @Kelly It looks like they instruct to install openssh-clients in the final response at the bottom of the thread (as opposed to openssh-client). Have you attempted that?

                            yes, definitely plural.

                            1 Reply Last reply Reply Quote 1
                            • S
                              scottalanmiller
                              last edited by

                              On CentOS 7, this is the package list...

                              openssh-6.6.1p1-23.el7_2.x86_64
                              openssh-server-6.6.1p1-23.el7_2.x86_64
                              openssh-clients-6.6.1p1-23.el7_2.x86_64
                              
                              1 Reply Last reply Reply Quote 0
                              • S
                                stacksofplates
                                last edited by

                                I wonder if this is related the minimal iso vs full DVD iso with minimal install. I haven't ever needed to install anything for ssh/scp to work. But I use the Minimal selection from the full DVD image.

                                coliverC 1 Reply Last reply Reply Quote 0
                                • coliverC
                                  coliver @stacksofplates
                                  last edited by

                                  @johnhooks said:

                                  I wonder if this is related the minimal iso vs full DVD iso with minimal install. I haven't ever needed to install anything for ssh/scp to work. But I use the Minimal selection from the full DVD image.

                                  I don't need anything additional for scp to work and I use the minimal iso.

                                  S 1 Reply Last reply Reply Quote 1
                                  • S
                                    scottalanmiller @coliver
                                    last edited by

                                    @coliver said:

                                    @johnhooks said:

                                    I wonder if this is related the minimal iso vs full DVD iso with minimal install. I haven't ever needed to install anything for ssh/scp to work. But I use the Minimal selection from the full DVD image.

                                    I don't need anything additional for scp to work and I use the minimal iso.

                                    He is missing a package from minimal for some reason.

                                    coliverC 1 Reply Last reply Reply Quote 0
                                    • coliverC
                                      coliver @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      @coliver said:

                                      @johnhooks said:

                                      I wonder if this is related the minimal iso vs full DVD iso with minimal install. I haven't ever needed to install anything for ssh/scp to work. But I use the Minimal selection from the full DVD image.

                                      I don't need anything additional for scp to work and I use the minimal iso.

                                      He is missing a package from minimal for some reason.

                                      That's odd. I just scp'd into my minimal install to check. Did @Kelly do a yum update?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        scottalanmiller @coliver
                                        last edited by

                                        @coliver said:

                                        That's odd. I just scp'd into my minimal install to check. Did @Kelly do a yum update?

                                        We know that minimal has the openssh-clients package and his does not. It must have failed or gotten removed somehow.

                                        coliverC 1 Reply Last reply Reply Quote 1
                                        • coliverC
                                          coliver @scottalanmiller
                                          last edited by

                                          @scottalanmiller said:

                                          @coliver said:

                                          That's odd. I just scp'd into my minimal install to check. Did @Kelly do a yum update?

                                          We know that minimal has the openssh-clients package and his does not. It must have failed or gotten removed somehow.

                                          Oh, sorry I misunderstood.

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kelly @stacksofplates
                                            last edited by Kelly

                                            @johnhooks said:

                                            https://www.centos.org/forums/viewtopic.php?t=5153 This person had the same issue

                                            Is there an openssh-clients package to install? I don't have a 6.7 server running to test on.

                                            That was it. I had the below installed:

                                            openssh-5.3p1-112.el6_7.x86_64
                                            openssh-server-5.3p1-112.el6_7.x86_64
                                            

                                            I ran yum install openssh-clients and now I have scp available. I'm going to test to see if this means I can now scp the file across.

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