Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3670758
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:24:15+00:00 2026-05-19T02:24:15+00:00

A quick question. I am using msysgit with openSSH as a git client. i

  • 0

A quick question. I am using msysgit with openSSH as a git client. i don’t want to use other ssh clients such as putty. From GIT Bash I have succesfully connected to my server with ssh -p XXXX to my sever.

Unfortunately when i try to do something like:

git clone git@SERVER:reponame.git 

from the Git Bash I get:

ssh: connect to host SERVER port 22 failed.

How can I make the ssh connection that msysgit tries to open with openssh run at a different port?

I know that in linux such a thing would be in /etc/ssh/ssh_config file but how would I go about doing that in this case? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:24:16+00:00Added an answer on May 19, 2026 at 2:24 am

    git supports the following syntax for ssh://

    ssh://[user@]host.xz[:port]/path/to/repo.git/
    

    Note the port in there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quick question. What do you think, I have a few sites that use a
Quick question, If I want to document some code on a basic HTML and
Just a quick question about using select() . I'm using select() to read from
Just a quick question: I'm using a lots of tabs in Eclipse and I
Quick question ... Using J2ME (CLDC 1.1, MIDP-2.1) is it possible to sleep the
Quick question, and I hope I'm using the right terminology :) I'm using Visual
a quick question. I am using the jQuery.forms.js plug-in. I have a form that
Quick question about general MVC design principle in PHP, using CodeIgniter or Kohana (I'm
I have this quick question regarding cost estimation using Function Points. We are doing
I had a quick question re. existential qualifier using setof in prolog (i.e. ^).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.