RClone Example Configuration: MedicineBow
This example configures transfers to/from Beartooth using passwordless authentication using an ssh-key:
command in CLI for rclone to configure Beartooth as a remote location AKA “transfer partner “:
account_user@uwarcc-mbp ~ % rclone config
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
sets up a new remote location, named beartooth:
[n/s/q> n
Enter name for new remote.
[name> medicinebow
Configure remote beartooth location with SSH/SFTP:
Option Storage.
Type of storage to configure.
Choose a number from below or type in your own value.
[snip loooooooooong list] ...
## /SSH/SFTP
\ “sftp”
[snip loooooooooong list] ...
[Storage> ##
Provide the ssh address for beartooth in which we’ll connect:
Configure beartooth to log in with UW username, <username>:
Hit enter for the default (port 22):
Hit enter to go with the default (leave optional password blank):
Hit Enter to leave this empty since we don’t want to use a key pem (usually only use if created in putty)
#Set the location of our keyfile to where it is on the client (in our .ssh folder with name id_rsa):
#We hit enter to use default (no), since we don’t want to make a password to use our ssh key file:
#We must now enter the location of our certificate for authentication:
Note:
On a Linux machine, this is usually /home/<your_username_on_linux_machine>/.ssh/id_ecdsa-cert.pub
On a Mac this is usually. /Users/<your_username_on the_Mac>/.ssh/id_ecdsa-cert.pub
On a Windows machine this is usually C:\Users\<your_username_on_that_PC>\.ssh\id_ecdsa-cert.pub
#Hit enter to use default, since we don’t want to specify our ssh-agent:
#We hit enter to use default (false), to use default ciphers for key exchange (more secure):
#We hit enter to use default (false), because disabling hashchecks is not recommended and not a secure practice:
#We’re done. No advanced configs required. Hit enter or ’n’ to select default (no):
#We hit enter to use default (yes, options we configured that are listed look good):
#We hit q to get out of rclone configuration:
#Now we’re back at our main command prompt, and out of rclone. If everything is properly configured, we can test whether we can see within the remote location or “transfer-partner”:
#If you get a list of your files on beartooth, we’re in good shape!