Remote Rails administration

Rails developers are often part of a small group developing and deploying and maintaining their projects. For those developers who double as system administrators, you may want to check out a Blackberry + MidpSSH combo.

I just purchased the 8700c and so far I’m a big fan (currently free at Amazon with a new 2-year agreement from Cingular). It’s nice to know you can SSH into a server at anytime to restart some Mongrels or fix whatever…

Here is a quick rundown to help jump-start the new Blackbery/Cingular owner.

Step 1 - Modify Blackberry Internet APN settings

Settings -> Options -> Advanced -> TCP

  • APN: wap.cingular
  • Username for APN: WAP@CINGULARGPRS.COM
  • Password for APN: CINGULAR1

Step 2 - Install MidpSSH

Open http://xk72.com/wap in Backberry’s Internet browser, download, and install.

Step 3 - Install public key on servers you want to manage

Follow the instructions in the public key wiki page.

Important note

You may need to relax your SSH restrictions in order to transfer the public key to the server. To do this simply change /etc/ssh/sshd_config temporarily to

PasswordAuthentication yes

Reload ssh settings

sudo /etc/init.d/ssh reload

Don’t forget to change you SSH settings back and reload the configuration if you changed them as described above.

Step 4 - Customize

Applications -> MidpSSH -> Settings -> SSH

  • Set Prefer: SSH2
  • Set Public key: On
  • Set Session key size: 1024

Applications -> MidpSSH -> Settings -> Fonts

  • Set Font-size to: LCD 8x13

Now you should be setup to SSH away. Hope this helps.

Comment or question via
FYI: This post was migrated over from another blogging engine. If you encounter any issues please let me know on . Thanks.