Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70879
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!roy |
|---|---|
| From | Roy Smith <roy@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Hi. I want to create a script to read a file placed in a remote linux server using python..need help..? |
| Date | Fri, 02 May 2014 18:51:29 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 17 |
| Message-ID | <roy-526263.18512902052014@news.panix.com> (permalink) |
| References | <a6716c27-bd6d-4fc5-8932-55470a78deb2@googlegroups.com> <lk16di$854$1@dont-email.me> |
| NNTP-Posting-Host | localhost |
| X-Trace | reader1.panix.com 1399071090 7951 127.0.0.1 (2 May 2014 22:51:30 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Fri, 2 May 2014 22:51:30 +0000 (UTC) |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| Xref | csiph.com comp.lang.python:70879 |
Show key headers only | View raw
In article <lk16di$854$1@dont-email.me>, Denis McMahon <denismfmcmahon@gmail.com> wrote: > Method b: > > Use telnet to login to your account on the other server, run the script. Ugh. I hope nobody is using telnet anymore. Passwords send in plain text over the network. Bad. All uses of telnet should have long since been replaced with ssh. One of the cool thinks about ssh is that not only does it give you remote shell connectivity, but it can be used to execute commands remotely, over the same secure channel. There is an awesome python package called fabric (http://www.fabfile.org/) which makes it trivial to do this inside of a python program. You can use it as a command-line tool, or as a library embedded in another python script.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Hi. I want to create a script to read a file placed in a remote linux server using python..need help..? Bhawani Singh <bhawani90@gmail.com> - 2014-05-02 12:55 -0700
Re: Hi. I want to create a script to read a file placed in a remote linux server using python..need help..? Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-02 22:32 +0000
Re: Hi. I want to create a script to read a file placed in a remote linux server using python..need help..? Roy Smith <roy@panix.com> - 2014-05-02 18:51 -0400
csiph-web