开发者

RVM on EC2 - operation timeout when installing ruby

开发者 https://www.devze.com 2023-04-06 20:08 出处:网络
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 eve

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

精彩评论

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