Hello again, Ok so I am using a different https port to connect to the site, and also when I configured SSH I used a non default port number. When I try to do a git clone, I get the following error: ssh connect to host example.com port 22: Bad file number fatal: the remote end hung up unexpectedly.
I guess it's trying to use the default port, how can I tell it to use the non default port? On Apr 1, 4:28 pm, Marius Mårnes Mathiesen <[email protected]> wrote: > On Fri, Apr 1, 2011 at 4:07 PM, moleculezz <[email protected]> wrote: > > I have successfully setup gitorious with the exception that I cannot > > pull or push. > > I was doing some reading online, and I might have the > > gitorious_client_port wrong. > > > Can someone please explain what this port actually does, and what I > > should set it to? > > Gitorious will "connect to itself" whenever you do any pull/push operations > over HTTP. So if you're trying to push to a Git URL, the gitorious script > will check with the webapp to see if you're allowed to push, and the file > system path to the repository you're requesting. > > gitorious_client_port should be the port your app is running on, this will > usually be 80 unless you've set it up otherwise. > > > And also, when I make changes to configurations, do I have to restart > > any services for the changes to take effect? > > Not in this case, no. The webapp will need to be restarted/reloaded when you > make changes that affect it, if you're using passenger you can simply touch > tmp/restart.txt inside the Gitorious source tree to have it restarted. > > Cheers, > - Marius -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
