actually use SshPort variable

SshPort is defined (SSH_PORT) but the value is not actually used (just compared to default port 22).
Merge pull request #335 from taziden/patch-1

actually use SshPort variable
Revert "actually use SshPort variable"
Merge pull request #338 from gogits/revert-335-patch-1

Revert "actually use SshPort variable"
SshPort is defined (SSH_PORT) but the value is not actually used (just compared to default port 22).