Versions Compared

Key

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

...

( or with sftp tool like mobaxterm ) 



Code Block
titlesftp ansible@192.168.99.11
collapsetrue
/project # sftp ansible@192.168.99.11
ansible@192.168.99.11's password:
Connected to 192.168.99.11.
sftp> put /project/id_rsa.pub
Uploading /project/id_rsa.pub to /var/home/ansible/id_rsa.pub
/project/id_rsa.pub                                                         100%  389   298.9KB/s   0.4KB/s   00:00

sftp> ls
id_rsa.pub

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

sftp> exit
/project #


Image Modified


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


Image Modified







3- To set up SSH agent to avoid retyping passwords, you can do:

...