# Connecting via ssh to hostgator's ruby server

**URL:** <https://www.ruby-forum.com/t/connecting-via-ssh-to-hostgators-ruby-server/82913>\
**Category:** Ruby\
**Created:** [January 22, 2007, 11:35am UTC](https://www.ruby-forum.com/t/connecting-via-ssh-to-hostgators-ruby-server/82913 "2007-01-22T11:35:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![libsfan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/779978/32.png) [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Post date:** [January 22, 2007, 11:35am UTC](https://www.ruby-forum.com/t/connecting-via-ssh-to-hostgators-ruby-server/82913/1 "2007-01-22T11:35:59Z")

</div>

Hi all

instructions on how to connect to hostgator’s ssh are given here  
[http://forums.hostgator.com/showthread.php?t=13038](http://forums.hostgator.com/showthread.php?t=13038) as someone who has  
never used ssh before i dont find those instructions explicit enough.  
It just says i need to “connect” to the server not how or through what?  
I’m a mac user so i gather that i need to use terminal but thats as far  
i know.

they emailed me saying:

" Hi,  
jailshell is now enabled on ‘mysite’ / 'myusernam’e. Please be aware  
that you will have to connect to port 2222, as port 22 is disabled for  
security reasons. "

they also said no-one there was familiar with connecting to the server  
via a mac!

so through terminal what would i need to type to make the connection?

---

<div class="post-metadata">

**Author:** ![libsfan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/779978/32.png) [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Post date:** [January 22, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/connecting-via-ssh-to-hostgators-ruby-server/82913/2 "2007-01-22T14:44:54Z")

</div>

On Mon, Jan 22, 2007 at 07:35:06PM +0900, libsfan01 wrote:

> 

This isn’t really a ruby question, but in the interests of being nice,  
open up Terminal (it can be found in /Applications/Utilities) and enter

man ssh

This should set you on the right path.

---

<div class="post-metadata">

**Author:** ![libsfan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/779978/32.png) [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Post date:** [January 22, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/connecting-via-ssh-to-hostgators-ruby-server/82913/3 "2007-01-22T14:58:01Z")

</div>

This isn’t really a Rails question, but I’ll answer it anyhow. 🙂

In terminal type: ssh removed\_email\_address@domain.invalid:2222

It may be (space)2222 or -p 2222 rather than :2222; I can’t remember  
(I’m on my work machine that’s windows). It should ask for your  
password; input that and you should be good to go.

–Jeremy

On 1/22/07, libsfan01 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
My free Ruby e-book:  
[http://www.humblelittlerubybook.com/book/](http://www.humblelittlerubybook.com/book/)

My blogs:

> **[Site not found · DreamHost](http://www.mrneighborly.com/)**
>
> The owner of this domain has not yet uploaded their website.

[http://www.rubyinpractice.com/](http://www.rubyinpractice.com/)
