Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: SSH with alternative port number?

From: Brandon Philips <hidden>
Date: 2016-06-15 22:42:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help