News for hackers. Stuff that matters.
Re:Managing SSH configurations with Python by volume on Tuesday May 28, 2013 @10:24AM (#5780212)
I get it if you're not familiar with puppet/chef/cfengine and super familiar with python, might as well - whatever works. But what is the use case of configuring ssh this way, than with chef or puppet or cfengine?

FYI my question comes from the point-of-view of someone who leans towards sysadmin work.

Re:Managing SSH configurations with Python by leg100 on Tuesday May 28, 2013 @10:34AM (#5780265)
Chef/Puppet are typically used for managing servers. Using them to configure the SSH client configuration on your laptop is very likely overkill.

This falls more within the terrain of orchestration rather than config mgmt. You might want to rely on your munging your SSH config rather than something more elaborate like "knife ssh", fabric, mcollective, salt, etc.

Re:Managing SSH configurations with Python by leg100 on Tuesday May 28, 2013 @09:46AM (#5779990)
Paramiko [1] parses SSH configs, but Emre's lib is an improvement as it also updates configs.

[1] http://www.lag.net/paramiko/docs/paramiko.SSHConfig-class.ht...

Re:Managing SSH configurations with Python by emre-yilmaz on Tuesday May 28, 2013 @09:50AM (#5780002)
Additionaly, storm's parser includes a bunch of fixes for multiple hostnames, multiple localforward/remoteforward directions and comment line handling.
Re:Managing SSH configurations with Python by JulianWasTaken on Tuesday May 28, 2013 @10:52AM (#5780367)
I caught this on GitHub a few days ago. I don't personally have a use for it, but as you noticed, there's already a reasonably popular ORM called storm, so you may want to consider a name change.
Re:Managing SSH configurations with Python by sdogruyol on Tuesday May 28, 2013 @09:36AM (#5779910)
Useful stuff also looks pretty neat to use.