Gitter

This server provides git repository access for Rose-Hulman. Instructors that wish to manage repositories can read these instructions.

Install ssh keys

If you want to avoid typing in your password whenever you access the git server, you can generate an ssh private/public key pair. Windows users will need to type these commands into git bash for best results.

Create key

First, create the key:

ssh-keygen -t rsa -b 2048
Type enter to accept the default values for any questions it asks you. Yes, you will want to leave the passphrase empty (but it's ok because you need access to your computer to use the key). If you want to set a non-empty passphrase, consider using an ssh-agent to help manage your key's passphrase to make your life easier.

Copy the key

After the key is generated, if your machine has the ssh tools installed, you can put the key on the server with this command:

ssh-copy-id USERNAME@gitter.csse.rose-hulman.edu

If your machine doesn't have the ssh-copy-id command, you can try this:

cat ~/.ssh/id_rsa.pub | ssh -e none USERNAME@gitter.csse.rose-hulman.edu 'cat >> ~/.ssh/authorized_keys'

Get your repo

You can get a repo as follows:

git clone YOUR_USERNAME@gitter.csse.rose-hulman.edu:/srv/repos/YOUR_REPO_NAME
Your instructor should provide the repo name.