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

  • SEARCH
  • Home
  • 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 851817
In Process

The Archive Base Latest Questions

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

I have a git repository on my server i can ssh over port 443.

  • 0

I have a git repository on my server i can ssh over port 443. But now i want to pull from that server and push to it but git gives me connection refused. I think it’s connecting over port 22 but i want it to connect over 443. I use tortoiseplink to connect with how can i make it connect through port 443 when pushing or pulling ?

  • 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-15T07:29:24+00:00Added an answer on May 15, 2026 at 7:29 am

    First, git will execute the command in a shell where it will look for the environment variable HOME (which is not a Windows standard environement variable).
    So make sure it does reference a correct path (any path you want)

    Then ssh will look for your your public and private key in ~/.ssh/id_rsa(.pub).
    Make sure you have them there (you can generate them in a Git bash session: ssh-keygen -t rsa.
    Make also sure you have the public key copied in ‘authorized_keys‘ (which you have, since you can ssh on the server)

    Finally, in your HOME/.ssh directory, create a file named ‘config‘:

    host remoteServer
    user yourLogin
    hostname remoteServerName
    port 443
    identityfile ~/.ssh/id_rsa
    

    You should then be able to use git pull or git push

    git pull remoteServer:/path/to/repo.git
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a git repository I originally used with msysgit , but now I've
I have configured git so that I can push my local dev-repository to my
I have a GIT repository on bitbucket, which I want my Jenkins Server to
I want to have a Git repository for personal private projects. I can host
Problem is simple: the main git repository can be accessed by Jenkins with ssh://ci_ro@server
I have a Git repository in bitbucket and another on my live rails server,
I have setup a git repository in a linux server, and installed the latest
I have a hosted git repository in my own server and my git repo
I have a git repository that I'm trying to delete all files and folders
I have a git repository hosted on BitBucket, and have set up SSH authentication

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.