Connecting via ssh to hostgator's ruby server


#1

Hi all

instructions on how to connect to hostgator’s ssh are given here
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?


#2

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.


#3

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

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 wrote:


My free Ruby e-book:
http://www.humblelittlerubybook.com/book/

My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/