Monthly Archives: March 2009

misc security sysadmin web

Logging into SSH with a different username

I love SSH. SSH is the de-facto service for remote server management, especially in a CLI environment.

Being a avid Linux user, and spending quite a bit of time on OSX lately, I often SSH into several servers remotely. Being subject to “username conventions”, you don’t always share the same username across machines. And I always wondered how one could just type ssh hostname instead of providing the username.

Seems that, by creating a .ssh/config file with following contents:


Host server.example.com server
  User username

WIll make life easier, as you can in the future only do a “ssh hostname”. I didn’t know this.

Uncategorized

Happy Birthday Linux

Yay, Linux exists 15 years. The little rebel OS was put to public 15 years ago. It’s architecture and philosophy lead to the popularity of other operating systems (BSD, and thus also Mac OS).

Even though I work quite a significant amount of time on Mac now, i still use Linux every single day. Best OS, evar.