First things first, which distribution are you running? I ask, simply because practically every distribution that supports a pre-built binary packaging system will have access to SSH (most distributions come with it pre-installed, anyways).
If you
insist on compiling from source, then the shtick is usually:
Code:
$ ./configure && make
$ su -c 'make install'