Skip to content

Instantly share code, notes, and snippets.

View atljeremy's full-sized avatar

Jeremy Fox atljeremy

View GitHub Profile
@crmaxx
crmaxx / 0-readme.md
Last active September 29, 2016 08:25 — forked from alanstevens/install-rvm.sh
Amazon AWS EC2 production for Ruby on Rails

Amazon AWS EC2 production for Ruby on Rails

Prepare cloud

Speed up ssh login

echo 'UseDNS no # if slow connection' >> /etc/ssh/sshd_config
echo 'PrintMotd yes # if you need motd messages' >> /etc/ssh/sshd_config

From /etc/pam.d/login && /etc/pam.d/sshd delete all strings included

session optional pam_motd.so