On Mon, Mar 14, 2011 at 5:55 PM, bandroid x <[email protected]> wrote:
> one question i do have, i hate running ssh on default port 22, but > changing ssh ports means giving a -o port= option i think for ssh and > that wouldnt work i assume for git? > You could add an entry to ~/.ssh/config with an entry for the host, like this: Host (your host) Port (your port) This will make SSH (and, in effect, git) use the specified port for this host. > also can i leave my server on a port other than 80? I am using port > 3000 for gitorious and 443 in apache and sometimes it still jumps to : > 80, i assume from places where the case statement for > production,test,development was left out and it defaults to port, 80. > i was considering going through the code to fix them all as i find > them, but wasnt sure how that all works wth ruby on rails. > This is probably Gitorious redirecting to the default port after logging in. We are planning to add support for SSL only installations, which should resolve this (just redirect to the same port), but that has not been done yet. Cheers - Marius -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
