Automated workflows
Have a look at the official wiki page of The Alliance:
Automation in the context of multifactor authentication
And here are some tips from me:
Contact The Alliance
First you need to contact The Alliance (support@tech.alliancecan.ca) and tell them what commands you want to execute (for example 'rsync') and what tools or libraries you will be using to manage the automation. They should get back to you with more information - or questions.
Once you have the okay from The Alliance to proceed you need to manage your SSH keys.
Manage your SSH keys
For this you can either use an SSH key you already have or create a new one.
Create a new SSH key
The specific process to generate an SSH key pair depends on the operating system you use. For the Windows PuTTY or MobaXterm clients, see Generating SSH keys in Windows. For a Unix-like environment (Linux, Mac, WSL or Cygwin), see Using SSH keys in Linux.
Create a new SSH key for Linux (UQAM servers)
On any of our internal UQAM servers go into your ~/.ssh directory:
There you can generate it with the ssh-keygen
command:
When prompted with the question "Enter file in which to save the key (/home/username/.ssh/id_ed25519):" you can either just press enter or change the name to, for example:
/home/username/.ssh/id_ed25519_transfer)
When asked for a passphrase and to repeat it you can just press enter. After this you should have the following two new files:
id_ed25519_transfer.pub # public key