RClone Example Configuration: Beartooth

This example configures transfers to/from Beartooth using passwordless authentication with an ssh-key:

  1. 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
  1. sets up a new remote location, named beartooth:

[n/s/q> n Enter name for new remote. [name> beartooth
  1. 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> ##
  1. Provide the ssh address for beartooth in which we’ll connect:

  1. Configure beartooth to log in with UW username, <username>:

 

  1. Hit enter for the default (port 22):

  1. Hit enter to go with the default (leave optional password blank):

  1. 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 hit enter to use default (empty), since we don’t need to make a pubkey file or have a signed cert for authentication:

#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!