Tag Archives: port

Non Standard Port Number with SSH and Git

Here is an example using the port 4567 to connect with over ssh and git ssh remote add origin ssh://sean@seanbehan.com:4567/path/to/git git push origin master
Posted in Git | Also tagged , | Leave a comment

Change default ssh port number on Ubuntu

Login as the root user or as a user that can execute sudo commands. #open this file for editing... vim /etc/ssh/sshd_config Find the line that reads Port 22 Change this to an different and an available port number… Port 8000 Next reload ssh /etc/init.d/ssh reload You won’t be kicked out of your session. But if you want to open a new connection [...]
Posted in Linux | Also tagged , , , | Leave a comment