Managing multiple servers efficiently

LinuxJournal Manage multiple servers efficiently


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
IdentityFile ~/.ssh/dh-user1

Host dh-user2
User user2
IdentityFile ~/.ssh/dh-user2


Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s