Results 1 to 3 of 3

Thread: Trying to run ssh-copy-id keep getting permission denied

  1. #1
    Join Date
    Feb 2020
    Beans
    2

    Trying to run ssh-copy-id keep getting permission denied

    hi all,

    i hope i can get some help with this one. i am basically trying to copy ssh key from one server tor. o another ubuntu 18.04 and keep getting this error

    ssh-copy-id root@192.168.1.142
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/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
    root@192.168.1.142's password:
    Permission denied, please try again.
    root@192.168.1.142's password:

    Thank you in advance all!!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    18,821
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Trying to run ssh-copy-id keep getting permission denied

    Don't use root.

    Ubuntu doesn't enable the root account. https://help.ubuntu.com/community/RootSudo

  3. #3
    Join Date
    Feb 2020
    Beans
    2

    Re: Trying to run ssh-copy-id keep getting permission denied

    Thank you! That resolved it all for me, TheFu!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •