Ruby on rails 在cpanel hostgator ssh上部署rails 4应用程序

Ruby on rails 在cpanel hostgator ssh上部署rails 4应用程序,ruby-on-rails,deployment,ssh,cpanel,Ruby On Rails,Deployment,Ssh,Cpanel,我正在使用Ubuntu,我无法连接到远程hostgator服务器。我正在使用ssh命令终端,而不是推荐的puTTY for windows。我运行了sshsshusername@hostname但是得到了ssh:connect to host#######.co.uk端口22:连接超时也许我不清楚主机名是什么?我正在输入一个域名,该域名与我的主机名和我的cpanel用户名关联?对吗 您可能遇到的一个问题是必须为Hostgator指定端口2222参数 比如: ssh username@hostna

我正在使用Ubuntu,我无法连接到远程hostgator服务器。我正在使用ssh命令终端,而不是推荐的puTTY for windows。我运行了ssh
sshusername@hostname
但是得到了
ssh:connect to host#######.co.uk端口22:连接超时
也许我不清楚主机名是什么?我正在输入一个域名,该域名与我的主机名和我的cpanel用户名关联?对吗

您可能遇到的一个问题是必须为Hostgator指定端口2222参数

比如:

ssh username@hostname -p 2222