Managing multiple servers efficiently

LinuxJournal Manage multiple servers efficiently

shmux

How can I manage apt efficiently on multiple machines?

Plan: Create pubkey-based auth with privkey protected by a decent password. Then can use ssh-agent and simultaneously upgrade multiple systems. Might even be able to script this down to one or two short commands.

Interesting snippet:

Here is the ~/.ssh/config file in my local account (the account I’m making SSH connections from):

Host dh-user1
User user1
HostName boba.dreamhost.com
IdentityFile ~/.ssh/dh-user1

Host dh-user2
User user2
HostName boba.dreamhost.com
IdentityFile ~/.ssh/dh-user2

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s