* SSH with alternative port number?
@ 2006-03-06 21:44 Wolfgang Denk
2006-03-06 21:59 ` Brandon Philips
2006-03-06 22:01 ` Belmar-Letelier
0 siblings, 2 replies; 3+ messages in thread
From: Wolfgang Denk @ 2006-03-06 21:44 UTC (permalink / raw)
To: git
Hi,
is there any way to specify an alternative port number for SSH based
remote repository access?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Here's a fish hangs in the net like a poor man's right in the law.
'Twill hardly come out." - Shakespeare, Pericles, Act II, Scene 1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SSH with alternative port number?
2006-03-06 21:44 SSH with alternative port number? Wolfgang Denk
@ 2006-03-06 21:59 ` Brandon Philips
2006-03-06 22:01 ` Belmar-Letelier
1 sibling, 0 replies; 3+ messages in thread
From: Brandon Philips @ 2006-03-06 21:59 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: git
Hello Wolfgang-
man(5) ssh_config
Add something like this to your .ssh/config file:
Host example
Hostname ssh.example.com
Port 2222
User wolfgang
Then use "example" as the hostname for the git commands instead of
ssh.example.com.
Best,
Brandon
--
http://ifup.org
On 22:44 Mon 06 Mar , Wolfgang Denk wrote:
> Hi,
>
> is there any way to specify an alternative port number for SSH based
> remote repository access?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> "Here's a fish hangs in the net like a poor man's right in the law.
> 'Twill hardly come out." - Shakespeare, Pericles, Act II, Scene 1
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SSH with alternative port number?
2006-03-06 21:44 SSH with alternative port number? Wolfgang Denk
2006-03-06 21:59 ` Brandon Philips
@ 2006-03-06 22:01 ` Belmar-Letelier
1 sibling, 0 replies; 3+ messages in thread
From: Belmar-Letelier @ 2006-03-06 22:01 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: git
Wolfgang Denk a écrit :
> Hi,
>
> is there any way to specify an alternative port number for SSH based
> remote repository access?
>
> Best regards,
>
> Wolfgang Denk
>
Use your .ssh/config file
$ more /home/luis/.ssh/config
host 217.111.187.226
hostname bmi
port 1234
Luis
--
Luis Belmar-Letelier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-06 21:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 21:44 SSH with alternative port number? Wolfgang Denk
2006-03-06 21:59 ` Brandon Philips
2006-03-06 22:01 ` Belmar-Letelier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.