CloudBuddy Logo
Home

How to Use


Please note that this product is geared towards Linux and Mac users
who are in the IT field. The instructions below have been tested. If
you run into an issue, please contact us so that we can fix it for you.

Note: In the examples below, replace <user> with the email that you
registered with.

Setup SSH public-key authentication
Follow these steps on each computer where you don't want to
be prompted for a password when using sftp.

Open a terminal window and type the following commands-
ssh-keygen -t rsa
  (answer questions - you can accept all defaults if you want)
cd $HOME/.ssh
sftp <user>@cloudbuddy.cloud:/.ssh/authorized_keys .
cat id_rsa.pub >> authorized_keys
sftp <user>@cloudbuddy.cloud:/.ssh <<< $'put authorized_keys'
rm authorized_keys

Moving forward, sftp won't ask you for a password.

Example of how to download a file via command line

sftp <user>@cloudbuddy.cloud:/uploads/testFile .

Example of how to upload a file via command line

sftp <user>@cloudbuddy.cloud:/uploads <<< $'put testFile'

Example of how to upload a file via Bash script

Download the upload_file_to_cloudbuddy script to your computer
cd to that directory
Update line 12 with <user>
chmod +x upload_file_to_cloudbuddy
./upload_file_to_cloudbuddy

Example of how to download a file via Bash script

Download the download_file_from_cloudbuddy script
cd to that directory
Update line 13 with <user>
chmod +x download_file_from_cloudbuddy
./download_file_from_cloudbuddy