LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Update: remote Linux management via Python and ssh

Posted 12-30-2008 at 03:25 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 02-03-2009 at 10:16 PM by rocket357

I installed paramiko and tested out ssh.py (see the Edit on my last post). Python isn't just easy to use, it's *incredibly* easy to use...and now it's even more powerful and easy to use than before (is that possible?!?).

The problem with my last post is that you have to manually manage timing. It's a serious pain (Edit - relatively speaking, of course)...you "stdin.write("""<some long-running command>""")", and then you have to time.sleep()...
Member
Posted in Uncategorized
Views 1488 Comments 0 rocket357 is offline
Old

Remote management of Linux systems via Python and ssh

Posted 12-30-2008 at 12:47 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 02-03-2009 at 07:52 PM by rocket357 (link)

Ok, so some time back I posted on here about cleartext passwords and Python, and how to encrypt passwords for storage on your hard drive. The task that prompted that post was writing a script capable of round-robin connecting to SQL Server and PostgreSQL databases to extract information about databases, software versions, log file sizes, etc...

Today's task is to round-robin connect to Linux via ssh. Python's os.popen3 is perhaps my favored (yes, I know it's been supplanted by more...
Member
Posted in Uncategorized
Views 3568 Comments 0 rocket357 is offline
Old

Update to Mini 9 Odyssy

Posted 12-30-2008 at 11:29 AM by PresGas (President Gas is President Gas again.)

Well, after a pleasant holiday and a car accident on X-mass night, I am recovered enough to post a continuation of my Mini 9 observations.

Thanks to the helpful commentary of Hangdog42, I discerned that the wireless drivers that I mentioned were the same. I still completely freeze in our university environment which is 802.11g wpa2-enterprise, but am fine on my wep 802.11b router. I had one complete freeze on another test wpa2-personal 802.11g router, but I was not able to reproduce...
Member
Posted in Uncategorized
Views 985 Comments 0 PresGas is offline
Old

Educating myself 1

Posted 12-30-2008 at 05:27 AM by moonbeam5

Started reading my book from the beginning again. Got through the preface.

Started chapter 1. Reading through the GNU-LINUX CONNECTION. There was mention of the GNU Hurd. Went to the web pages mentioned. Skimmed over some of the info.
This from about 3:40 am to about now.

I will leave for work in an hour. Now I will play.
LQ Newbie
Posted in Uncategorized
Views 1205 Comments 5 moonbeam5 is offline
Old

AntiX M8.0 Public Test 1 is now available

Posted 12-29-2008 at 01:53 PM by masinick

A fast, easy to use, surprisingly solid test system called AntiX has been released for public testing.

AntiX is my favorite small, fast system. I use it when I am going to be doing primarily Web browsing because it boots so fast, I can start it up, call up my Web browser, check for Spam messages in my Email, clean out the unwanted messages, then scan my Inbox and do the same, retaining the messages I want, to be later stored in a POP3 Email client. I can do all of that and get off...
Member
Posted in Uncategorized
Views 1426 Comments 0 masinick is offline

  



All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration