Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added feature connect to ssh on alternate ports #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added feature connect to ssh on alternate ports #6

wants to merge 1 commit into from

Conversation

ithouse
Copy link

@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

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

@empjustine
Copy link

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

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.

5 participants