I have been directed here from Stack Overflow, so please be aware that I am coming from a web dev background with limited knowledge of DevOps.
I am learning Gulp and node.js and want to use it to transfer file from my local machine to a remote shared server. I've installed rsync and have set up my Gulp command ready to go.
However I am unsure as to how to set up SSH for the remote server.
I've generated a public and private key on CPanel and have downloaded the id_rsa file to my PC (MacOS). But I am not sure what to do next.
Would anyone know what I should be doing?
I thought I should add this id_rsa file to the system's .ssh directory but there is already an id_rsa file there (that I set up for Github awhile back). How can I use both files?