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.
    • KellyK
      Kelly @scottalanmiller
      last edited by

      @scottalanmiller said:

      With root, what does this return:

      which scp
      

      /usr/bin/which: no scp in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

      (how do you use code blocks?)

      openssh-5.3p1-112.el6_7.x86_64
      openssh-server-5.3p1-112.el6_7.x86_64
      libssh2-1.4.2-1.el6_6.1.x86_64

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

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

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

          Okay, OpenSSH is missing files.

          yum reinstall openssh
          
          1 Reply Last reply Reply Quote 2
          • KellyK
            Kelly
            last edited by

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

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

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

              KellyK 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scottalanmiller
                last edited by

                @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.

                scottalanmillerS KellyK 2 Replies Last reply Reply Quote 3
                • scottalanmillerS
                  scottalanmiller @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.

                  That's way handier than what I have been doing. I need to start doing that.

                  1 Reply Last reply Reply Quote 2
                  • stacksofplatesS
                    stacksofplates @Kelly
                    last edited by

                    @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?

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

                      @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.

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

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

                            Other code block
                            
                            1 Reply Last reply Reply Quote 1
                            • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post