开发者

RVM on EC2 - operation timeout when installing ruby

Im sure this is a simple answer to this problem, though I can't see it at the moment.

Im running RVM on a small EC2 instance. However when running a rvm install 'ruby-version' the console will eventually freeze u开发者_如何学编程p and I will get the following response.. Operation timed out.

Any ideas on how to keep this running?

Cheers,


Have you try this one

#change ssh timeouts
sudo vi /etc/ssh/sshd_config

#add these settings
ClientAliveInterval 30
TCPKeepAlive yes
ClientAliveCountMax 99999

#restart ssh
sudo /etc/init.d/ssh restart
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜