Install GIT on Plesk

Install GIT on a Plesk/Centos Box doesn’t actually involve much other than a yum install and setting up key auth.

Enable RPMforge repo
yum install git

Enable /bin/bash shell for the user in plesk.
make a .ssh directory in their homedir with 700 perms
Generate a keypair, or get public key of clients keypair:
ssh-keygen -t rsa -C “user@servername”
add public key to authorized_keys and chmod 600 it

Open clients IP in firewall for SSH

make a git directory in their homedir if this is where they plan to have their repo.

To test, install git on local machine
yum install git git-gui
(there is also a version available for windows)

Add private key to local machine
ssh user@servername


You can leave a response, or trackback from your own site.

5 Responses to “Install GIT on Plesk”

  1. John says:

    Are you sure none of the dependencies will screw with Plesk? I don’t trust Plesk as far as i can throw it, but unfortunately, i have to use it and really want GIT on it!

    If this messes up Plesk how would i roll back what has been installed?

    Thanks for the writeup!

  2. Tom Vernon says:

    Hi there,

    Never had any problems on my Plesk servers. The only dependency is perl-git so shouldnt be any problems with Plesk.

    If your worried about it pulling in anything else that might annoy Plesk, try adding something this to your rpmforge.repo:

    includepkgs=git perl-Git

  3. Frank says:

    Thanks, this was a real life saver to get ssh keys set up for one of our plesk accounts to connect to github. Cheers!

  4. […] Install git on Plesk Phabricator installation guide Plesk – subdomain to point to a specific port This entry was posted in Uncategorized by Alex. Bookmark the permalink. […]

Leave a Reply