Skip to content

Added feature connect to ssh on alternate ports#6

Open
ithouse wants to merge 1 commit into
adamwiggins:masterfrom
ithouse:master
Open

Added feature connect to ssh on alternate ports#6
ithouse wants to merge 1 commit into
adamwiggins:masterfrom
ithouse:master

Conversation

@ithouse
Copy link
Copy Markdown

@ithouse ithouse commented Sep 30, 2010

Hello Adam,
I had to access some servers where sshd is configured to listen to other ports than 22
With this commit you can do
remote = Rush::Box.new("example.com:2222")
2 tests added, no tests broken

@mattbailey
Copy link
Copy Markdown

+1 on this pull request, would really like this feature.

@empjustine
Copy link
Copy Markdown

Sorry for ressurecting 2 years old issue but, isn't editing ~/.ssh/config better?

Host example
    HostName example.com
    Port 2222

@s-mage
Copy link
Copy Markdown

s-mage commented Apr 5, 2014

@empjustine sure it is (I'm sorry too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants