3 ms·
> There's no server. There IS a server, it's the ssh daemon. That's the bit I had never thought about until now.
by bfkwlfkjf 1y ago
> There's no server.
There IS a server, it's the ssh daemon. That's the bit I had never thought about until now.
- skydhash 1y agoSSH is just a transport to get access to the repo information. The particular implementation does not matter (I think). Its configuration is orthogonal to git.
- bfkwlfkjf 1y agoIt's just a transport, and it needs a server.
- ogig 1y agoYou can think of the ssh://server/folder as a normal /folder. ssh provides auth and encryption to a remote hosted folder but you can forget about it for the purpose of understanding the nature of git model.
- charles_f 1y agoThe server is git itself, it contains two commands called git-receive-pack and git-upload-pack that it starts through ssh and communicate through stdin/out