adamwiggins / rush

Ruby replacement for bash+ssh
http://rush.heroku.com/
518 stars 73 forks source link

Added feature connect to ssh on alternate ports #6

Open ithouse opened 14 years ago

ithouse commented 14 years ago

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 commented 13 years ago

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

empjustine commented 10 years ago

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

Host example
    HostName example.com
    Port 2222
s-mage commented 10 years ago

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