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.8k
    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.
    • JaredBuschJ
      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
      • scottalanmillerS
        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
        • stacksofplatesS
          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.

          scottalanmillerS KellyK 2 Replies Last reply Reply Quote 0
          • scottalanmillerS
            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
            • scottalanmillerS
              scottalanmiller
              last edited by

              Oh yes, that appears to be missing.

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

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

                RamblingBipedR scottalanmillerS 2 Replies Last reply Reply Quote 0
                • RamblingBipedR
                  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?

                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    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
                    • scottalanmillerS
                      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
                      • scottalanmillerS
                        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
                        • stacksofplatesS
                          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.

                            scottalanmillerS 1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              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?

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  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
                                    • KellyK
                                      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
                                      • KellyK
                                        Kelly
                                        last edited by

                                        Ok, I can now copy. Thanks for all the help. I have learned a lot in just this one issue.

                                        scottalanmillerS 1 Reply Last reply Reply Quote 2
                                        • travisdh1T
                                          travisdh1
                                          last edited by

                                          Honestly, a lot of us probably did. I at least assumed scp would be working out of the box even on a minimal install. Good things to take note of for latter.

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

                                            @travisdh1 said:

                                            Honestly, a lot of us probably did. I at least assumed scp would be working out of the box even on a minimal install. Good things to take note of for latter.

                                            It absolutely does. We all use it, all of the time. Somehow a package was missing in this case.

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