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

    SSH-Copy-ID Being prompted for password

    IT Discussion
    ssh copy
    2
    6
    387
    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

      Okay, so I'm nearing my wits end at the moment as I know this works elsewhere without issue.

       ssh-copy-id -i id_rsa.pub admin@target-workstation
      /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "id_rsa.pub"
      /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
      /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
      Password:
      

      That is what I'm getting, tapping enter 3 times, I get 3 Password: entries, and then I'm prompted for the remote computer ssh password.

      What am I missing?`

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

        Okay, never mind, it worked just fine on another computer, using the same Ethernet adapter. . .

        I did have a single entry for an known_host, but it was for the original computer i was testing with. Not sure why it would get all screwy on me, since it IS that host.

        But whatever.

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

          What I've seen is that ssh-copy-id will request your password since the remote machine doesn' thave you ID. After entering your password, it transfers the id, and you should be good to go.

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

            @dafyre said in SSH-Copy-ID Being prompted for password:

            What I've seen is that ssh-copy-id will request your password since the remote machine doesn' thave you ID. After entering your password, it transfers the id, and you should be good to go.

            Which password, the password for the local server that I'm running the copy from, the user password for that server?

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

              @DustinB3403 said in SSH-Copy-ID Being prompted for password:

              @dafyre said in SSH-Copy-ID Being prompted for password:

              What I've seen is that ssh-copy-id will request your password since the remote machine doesn' thave you ID. After entering your password, it transfers the id, and you should be good to go.

              Which password, the password for the local server that I'm running the copy from, the user password for that server?

              The user password for the remote server.

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

                @dafyre said in SSH-Copy-ID Being prompted for password:

                @DustinB3403 said in SSH-Copy-ID Being prompted for password:

                @dafyre said in SSH-Copy-ID Being prompted for password:

                What I've seen is that ssh-copy-id will request your password since the remote machine doesn' thave you ID. After entering your password, it transfers the id, and you should be good to go.

                Which password, the password for the local server that I'm running the copy from, the user password for that server?

                The user password for the remote server.

                That makes literally no sense, as it asks for the remote computer credentials after the 3rd Password prompt. . .

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