public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Brandon Philips <brandon@ifup•org>
To: Wolfgang Denk <wd@denx•de>
Cc: git@vger•kernel.org
Subject: Re: SSH with alternative port number?
Date: Mon, 6 Mar 2006 13:59:39 -0800	[thread overview]
Message-ID: <20060306215939.GD14725@osuosl.org> (raw)
In-Reply-To: <20060306214418.66E153525CB@atlas.denx.de>

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

  reply	other threads:[~2006-03-06 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 21:44 SSH with alternative port number? Wolfgang Denk
2006-03-06 21:59 ` Brandon Philips [this message]
2006-03-06 22:01 ` Belmar-Letelier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060306215939.GD14725@osuosl.org \
    --to=brandon@ifup$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    --cc=wd@denx$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox