Automation in the context of multifactor authentication: Difference between revisions

Marked this version for translation
No edit summary
(Marked this version for translation)
Line 63: Line 63:
{{Command|rsync -e "ssh -i .ssh/private_key_to_use" ...}}
{{Command|rsync -e "ssh -i .ssh/private_key_to_use" ...}}


<!--T:14-->
It's often much more convenient to put these parameters into your ~/.ssh/config file, so it gets picked up by any ssh client invocation.  For instance:
It's often much more convenient to put these parameters into your ~/.ssh/config file, so it gets picked up by any ssh client invocation.  For instance:
  host robot
  host robot
Line 71: Line 72:
   requesttty no
   requesttty no


<!--T:15-->
this means that the following kinds of commands will do what you want:
this means that the following kinds of commands will do what you want:
{{Command|ssh robot /usr/bin/ls}}
{{Command|ssh robot /usr/bin/ls}}
{{Command|rsync -a datadir/a robot:scratch/testdata}}
{{Command|rsync -a datadir/a robot:scratch/testdata}}
</translate>
</translate>
rsnt_translations
56,420

edits