Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
titlesftp ansible@192.168.99.11
collapsetrue
/project # sftp ansible@192root@192.168.99.11
ansible@192root@192.168.99.11's password:
Connected to 192.168.99.11.
sftp> put /root/project.ssh/id_rsa.pub
Uploading /projectroot/.ssh/id_rsa.pub to /var/homeroot/ansible/id_rsa.pub
/projectroot/.ssh/id_rsa.pub                                                         100%  389386   298502.9KB/s   0.4KB/s   00:00

sftp> ls
id_rsa.pub

sftp> pwd
Remote working directory: /var/home/ansibleroot

sftp> exit
/project #



Check:  after the ssh-copy-id, on the remote server: before/after   ( /root/.ddh  or /home/<username>/.ssh/ )



...