Please help
I'm attempting to communicate with git / github on a linux ubuntu server via SSH while also having a different port for SSH ( not 22 ). 
When I attempt to git clone, I am using this command:
$ git clone -v [git@github.com:12345]:username/project-web.git myfolder
It hangs for about 3 minutes then I get this output:
Cloning into 'myfolder'...
ssh: connect to host github.com port 12345: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have my firewall ( UFW ) setup correctly; I can successfully SSH and connect to the server. This is my UFW configuration:
22                         DENY        Anywhere
12345/tcp                  ALLOW       Anywhere
12345                      ALLOW       Anywhere
22/tcp                     DENY        Anywhere
22 (v6)                    DENY        Anywhere (v6)
12345/tcp (v6)             ALLOW       Anywhere (v6)
12345 (v6)                 ALLOW       Anywhere (v6)
22/tcp (v6)                DENY        Anywhere (v6)
And this is my ~/.ssh/config file:
Host github.com
    User git
    Hostname github.com
    IdentityFile ~/.ssh/deploy
    IdentitiesOnly yes
    Port 12345
and my /etc/ssh/sshd_config file:
...
Port 12345
...
I've tried these other related SO answers and still no luck:
git remote add with other SSH port
What am I doing wrong? Am i using the wrong command? I've tried many of the commands in the related answers above, still no luck.