Git Remote Add With Another SSH Port (Not 22)

In this brief article you will learn to add a git remote with another SSH Port. By default SSH server listens on port 22. If the SSH server runs on any other port the command to add remote will fail with error ssh connect to host 192.158.xx.xx port 22 Connection refuse.

Git is a free amp open-source version control system that almost all developers use today. No matter what project youre working on Git can help you manage your code efficiently.

It is faster than any other way of transmitting code to a remote location. Its lightening fast performance can transmit the entire application within seconds to the production server staging server or a bitbucket repository.

To learn more about git read our Learn Git series.

After initializing the local repository one needs to add at least one remote repository to push code to that remote. By default git requires a server username and IP address to add a remote repository.


Read Full Post

News Link:
RSS Link:

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.