1

In Linux CentOS:

yum install git
cd /home
mkdir mysite
cd mysite
git init

In Windows 10:

git clone https://my_server_username:[email protected]/home/mysite/mysite.git

it returns:

fatal: unable to access 'https://192.168.1.10/home/mysite/mysite.git/': Failed to connect to 192.168.1.10 port 443 after 1014 ms: Connection refused

I can connect using SSH and my firewall is disabled on both OSs.

Have I missed something?

1 Answer 1

1

There are several ways to achieve what you want: use your Linux box as a git server.

  • run a gitd daemon process on the server. This can be done using a web server (http/https) front-end or an SSH front-end.
  • run without a server/daemon process by configuring your .ssh/authorized_keys on the server like described in this answer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .