Can I improve this small bash script?
I just got through writing a bash script so my friend and I can share snippets of code to a central file via rsync and ssh. What it does is this;

1. Sets up ssh public key auth if not already working.
2. Makes a local "snippet file" using rsync to copy an exiting file from a remote server.
3. Allows the user to edit the snippet file.
4. If user chooses, sync snippet file to remote host.  

I put the project on github at https://github.com/shakabra/snippetShare 

It's a pretty straight-forward script, but I wonder what could be done better.

I am really new at programming and was hoping you guys might spot some obvious mistakes that I just over-looked or don't understand.

Thanks in advance if you take the time to look over the script. 
Can I improve this small bash script?
===

I just got through writing a bash script so my friend and I can share snippets of code to a central file via rsync and ssh. What it does is this;

1. Sets up ssh public key auth if not already working.
2. Makes a local "snippet file" using rsync to copy an exiting file from a remote server.
3. Allows the user to edit the snippet file.
4. If user chooses, sync snippet file to remote host.  

I put the project on github at https://github.com/shakabra/snippetShare 

It's a pretty straight-forward script, but I wonder what could be done better.

I am really new at programming and was hoping you guys might spot some obvious mistakes that I just over-looked or don't understand.

Thanks in advance if you take the time to look over the script. 