Added feature connect to ssh on alternate ports #6

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants
@ghost

ghost 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

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

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

Host example
    HostName example.com
    Port 2222

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