Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

OSI Board Addition May Bring Needed Change

Top 10 IT Billionaires -- A Closer Look

Proof Of Concept: Open-Source Multi-GPU Rendering!

How to compile the Linux kernel

Novell's Motion to Allow Evidence: SCO Opened the Door

Blake Stowell Email to Maureen O'Gara: "I Need You to Send a Jab PJ's Way"

'Rising Tide' for x86 Servers Lifting Intel, AMD

Digg Moves From MySQL to NoSQL

Elliott Associates: Novell Won't Go to Pieces

Text-to-Speech Software for Linux




Systems Engineer Sr – Automation – Opsware SAS / HP SA
Next Step Systems
US-TX-Houston

Justtechjobs.com Post A Job | Post A Resume
:Linux and UNIX How To: Scripting SSH and SFTP
Linux and UNIX How To: Scripting SSH and SFTP
Dec 10, 2008, 04 :35 UTC (0 Talkback[s]) (4749 reads)

(Other stories by Jeremy M. Jones)

"This is where Python and paramiko come in. paramiko is a library for Python that provides a programmatic interface to SSH. This combination of Python and SSH allows you to drive SSH tasks you would normally perform manually.

"Installation of paramiko is pretty simple. If you're using Ubuntu or Debian, installation is a simple "sudo apt-get install python-paramiko" command in a terminal. If you aren't using Ubuntu or Debian, you can check to see if your system provides a package for paramiko. If it doesn't, then you can always use easy_install: "sudo easy_install paramiko".

"After installing, the next step is to create an SSHClient object and connect it to an SSH server. I've created a module named "ssh_common.py" that contains a function to connect to a specific server on my network and then return an "ssh" object."

Complete Story

Related Stories:
What Programming Language For Linux Development?(Dec 08, 2008)
Speaking UNIX: Go Fish! The Friendly Interactive Shell(Dec 04, 2008)
Cool Command Line Apps for GNU/Linux and other Unix Systems(Dec 01, 2008)
Extending Nautilus, Scripting Your Way To UI Bliss(Nov 23, 2008)
Book Review: C Programming: A Modern Approach by K. N. King(Nov 20, 2008)
Tip: Simple Regular Expressions For Reviewing Log Files(Nov 20, 2008)
Top 10 Best Cheat Sheets and Tutorials for Linux / UNIX Commands(Nov 07, 2008)
3 More Things Every Good Linux Adminstrator Knows(Nov 06, 2008)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers