You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(6) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
|
2003 |
Jan
(8) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(5) |
2005 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(7) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: Rasjid W. <ra...@op...> - 2014-12-19 05:45:36
|
Hi Carmelo, As the sourceforge page says, this project is no longer maintained. I strongly suggest using Paramiko instead. But even using Paramiko, your question is unclear. If you are asking if you can run a remote command with Paramiko, the answer is yes. If you want to run a local bash script on a remote server, you will need to copy the script to the server first. If you wanting to send commands including shell scripts to a server, maybe you want to look at Fabric (http://www.fabfile.org/) which is built on top of Paramiko. Cheers, Rasjid. On 19/12/2014 3:49 AM, Melo Z wrote: > Hi list!, > > You may pass as command a bash script? > > I have several script on the server and would like to run on remote > servers. > > Thanks for the help > > -- > Carmelo Zubeldia > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > > > _______________________________________________ > Pyssh-discuss mailing list > Pys...@li... > https://lists.sourceforge.net/lists/listinfo/pyssh-discuss |
From: Melo Z <car...@gm...> - 2014-12-18 16:50:06
|
Hi list!, You may pass as command a bash script? I have several script on the server and would like to run on remote servers. Thanks for the help -- Carmelo Zubeldia |
From: Rasjid W. <ra...@op...> - 2010-06-10 02:40:39
|
Ron Eggler wrote: > Hello There, > > I want to use pyssh to establish an ssh connection to a client. > I have tried following after what i've found in the docu: > > import pyssh > pyssh.run('date', host=prsIP, user='root', password=prsPass) > but this is what i'm getting: > File "./ifaceGPIO.py", line 43, in <module> > pyssh.run('date', host=prsIP, user='root', password=prsPass) > AttributeError: 'module' object has no attribute 'run' > > I did build and install pyssh from source as root... > > anyone a clue what i'm doing wrong? > > Thank you, > Ron > Hi Ron, I suggest you look at paramiko instead. http://www.lag.net/paramiko/ Paramiko is developed and maintained, whereas pyssh is not. Cheers, Rasjid. |
From: Ron E. <ron...@gm...> - 2010-06-09 17:19:20
|
Hello There, I want to use pyssh to establish an ssh connection to a client. I have tried following after what i've found in the docu: import pyssh pyssh.run('date', host=prsIP, user='root', password=prsPass) but this is what i'm getting: File "./ifaceGPIO.py", line 43, in <module> pyssh.run('date', host=prsIP, user='root', password=prsPass) AttributeError: 'module' object has no attribute 'run' I did build and install pyssh from source as root... anyone a clue what i'm doing wrong? Thank you, Ron -- Ron Eggler Suite# 1804 1122 Gilford St Vancouver, BC V6G 2P5 Canada (778) 230-9442 |
From: Mark W. A. <sl...@do...> - 2010-03-28 13:52:56
|
On Tue, Mar 16, 2010 at 06:19:12PM -0500, Qiang Li wrote: > Hi > > I want to use Pyssh. But when I test some code I get this > > mycon = pyssh.Ssh('root','10.0.0.186','22') > > Traceback (most recent call last): > File "<pyshell#4>", line 1, in <module> > mycon = pyssh.Ssh('root','10.0.0.186','22') > File "C:\Python25\lib\site-packages\pyssh\__init__.py", line 105, in > __init__ > self.old_handler = signal.getsignal(signal.SIGCHLD) > AttributeError: 'module' object has no attribute 'SIGCHLD' > > My version of Python is 2.5 Probably that pyssh hasn't been touched for several years and not reviewed at all after Python 2.3. I do not recommend pyssh for any new development. I recommend you look at paramiko: http://www.lag.net/paramiko/ It's much more robust and cross-platform than pyssh. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: Qiang Li <ton...@gm...> - 2010-03-16 23:19:19
|
Hi I want to use Pyssh. But when I test some code I get this mycon = pyssh.Ssh('root','10.0.0.186','22') Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> mycon = pyssh.Ssh('root','10.0.0.186','22') File "C:\Python25\lib\site-packages\pyssh\__init__.py", line 105, in __init__ self.old_handler = signal.getsignal(signal.SIGCHLD) AttributeError: 'module' object has no attribute 'SIGCHLD' My version of Python is 2.5 what is wrong? Thanks |
From: Mark W. A. <sl...@do...> - 2008-05-25 17:08:59
|
On Tue, May 20, 2008 at 10:39:14AM -0400, Bijoy Thomas wrote: > Hi, > > Has anyone tried using pyssh on Mac OS X? I installed it and gave it > a trial run but encountered an error for a missing "/proc" (which OS X > doesnt have). I editied the attach_agent() method to return without > calling fssa.fssa(key) in the hope that I could manually enter the > passwd. > > My test code is > > from pyssh import * > testcon = Ssh('thomas', 'mongo.cebatech.com', '22') > testcon.set_debuglevel(1) > testcon.set_sshpath(SSH_PATH) > testcon.login() > print testcon.sendcmd('date') > testcon.close() [snip] > Am I doing something wrong or is this something to do with OS X? The > README mentions that time.sleep() has issues. Perhaps something to do > with that? Yes and no. AFAIK, no one has tried PySSH on OS X but the fssa module definitly depends on /proc for finding and attaching to a running agent. If you're content to have your password embedded in scripts, the login method accepts a password arguement so: testcon.login(password="mypassword") should do what you need. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: Bijoy T. <bij...@gm...> - 2008-05-20 14:39:08
|
Hi, Has anyone tried using pyssh on Mac OS X? I installed it and gave it a trial run but encountered an error for a missing "/proc" (which OS X doesnt have). I editied the attach_agent() method to return without calling fssa.fssa(key) in the hope that I could manually enter the passwd. My test code is from pyssh import * testcon = Ssh('thomas', 'mongo.cebatech.com', '22') testcon.set_debuglevel(1) testcon.set_sshpath(SSH_PATH) testcon.login() print testcon.sendcmd('date') testcon.close() Running this simply hangs after printing a debug line "Running /usr/bin/ssh -p 22 th...@mo...." I hit Ctrl-C Keyboard Interrupt to kill it and have pasted the traceback. $python ssh.py >> Running /usr/bin/ssh -p 22 th...@mo.... ^C>> ssh pid is 2808. ^CTraceback (most recent call last): File "ssh.py", line 6, in <module> testcon.login() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyssh/__init__.py", line 254, in login print ">> 1st banner read is: %s" % banner File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyssh/__init__.py", line 236, in read_some return self.sshout.read_very_lazy() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyssh/nbpipe.py", line 110, in read_some data += self.read_lazy(maxblocks - 1, timeout) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyssh/nbpipe.py", line 98, in read_lazy time.sleep(MIN_TIMEOUT) KeyboardInterrupt >> Sending >> 1 characters taken >> Sending ~. >> 2 characters taken ^C $ Am I doing something wrong or is this something to do with OS X? The README mentions that time.sleep() has issues. Perhaps something to do with that? Thanks, Bijoy. -- "The task AHEAD of you is never as great as the POWER behind you" |
From: Mike P. <mik...@gm...> - 2006-07-20 19:08:53
|
I'm trying to find this for myself, but for the life of me I can't... How do I manually set a timeout for connecting to a server and waiting for responses for commands? Many thanks. -- Mike Pacific E-Mail - mik...@gm... Cell - 203.994.5033 |
From: James M. <pro...@sh...> - 2005-10-29 04:14:47
|
On Fri, Oct 28, 2005 at 11:23:03AM -0400, Mark W. Alexander wrote: > Change ssh.login() to ssh.open(). Using login establishes an interactive > session, so you're timing until the session closes. Okay I'll try that. > Patches welcome ;) The current version is little more than a wrapper around an > ssh pipe. Could we not create bindings to the openssh library itself instead of using a pipe ? (I guess you might have mentioned something similar to this before). cheers James -- -- -"Problems are Solved by Method" - - James Mills <pro...@sh...> - HomePage: http://shortcircuit.net.au/~prologic/ - Phone: +61732166379 - Mobile: +61404270962 - Skype: therealprologic - MSN: pro...@sh... - ICQ: 98888663 - IRC: irc://shortcircuit.net.au#se Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html |
From: Mark W. A. <sl...@do...> - 2005-10-28 15:23:08
|
On Fri, Oct 28, 2005 at 01:02:51AM +1000, James Mills wrote: > Hi, > > Got a performance issues here... > > ~/tmp/pyssh > $ time ./uptime > uptime > 01:01:06 up 3 days, 15:01, 5 users, load average: 0.08, 0.10, 0.09 > > prologic@earth > Fri Oct 28 01:01:06 > ~ > $ > > real 0m7.736s > user 0m0.040s > sys 0m0.020s > > See the attached "uptime" script. Based on your own test code. > > Here's the same thing with the openssh "ssh" command: > > ~/tmp/pyssh > $ time ssh earth "uptime" > 01:02:16 up 3 days, 15:02, 4 users, load average: 0.26, 0.13, 0.10 > > real 0m1.393s > user 0m0.016s > sys 0m0.004s Change ssh.login() to ssh.open(). Using login establishes an interactive session, so you're timing until the session closes. > Also notice that PySSH seems to open up a pty by default. > Should it do this ? (ihmo, I think it shouldn't). ... > Perhaps have in the constructor of Ssh > > def __init__(self, username, host, port, pty=False): Patches welcome ;) The current version is little more than a wrapper around an ssh pipe. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: Mark W. A. <sl...@do...> - 2005-10-28 14:48:55
|
On Thu, Oct 27, 2005 at 03:14:17PM +1000, James Mills wrote: > Hi, > > Who have we got on this list ? :) > > Is this project active ? It's active as long as it works ;) Officially, I'm the maintener. I gained this prestigious position by the time-honored tradition of "touching it last." I'm currently transitioning to a new job, so I've been actively doing nothing except moving and learning the new position. Someday... I'd like to extract the Python SSH code from Twisted.Conch and make pyssh a pure-python SSH api with expect-like capability (minus the requirement for a Twisted reactor), but don't hold your breath. In the meantime, I'll do what I can. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: James M. <pro...@sh...> - 2005-10-27 15:02:58
|
Hi, Got a performance issues here... ~/tmp/pyssh $ time ./uptime uptime 01:01:06 up 3 days, 15:01, 5 users, load average: 0.08, 0.10, 0.09 prologic@earth Fri Oct 28 01:01:06 ~ $ real 0m7.736s user 0m0.040s sys 0m0.020s See the attached "uptime" script. Based on your own test code. Here's the same thing with the openssh "ssh" command: ~/tmp/pyssh $ time ssh earth "uptime" 01:02:16 up 3 days, 15:02, 4 users, load average: 0.26, 0.13, 0.10 real 0m1.393s user 0m0.016s sys 0m0.004s Also notice that PySSH seems to open up a pty by default. Should it do this ? (ihmo, I think it shouldn't). Perhaps have in the constructor of Ssh def __init__(self, username, host, port, pty=False): cheers James -- -- -"Problems are Solved by Method" - - James Mills <pro...@sh...> - HomePage: http://shortcircuit.net.au/~prologic/ - Phone: +61732166379 - Mobile: +61404270962 - Skype: therealprologic - MSN: pro...@sh... - ICQ: 98888663 - IRC: irc://shortcircuit.net.au#se Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html |
From: christian l. <chr...@ti...> - 2005-10-27 05:29:31
|
> Who have we got on this list ? :) here: just reading. ;-) > Is this project active ? don't know, really; i for one am using pyssh. :-) rgds, christian -- |
From: James M. <pro...@sh...> - 2005-10-27 05:14:31
|
Hi, Who have we got on this list ? :) Is this project active ? cheers James -- -- -"Problems are Solved by Method" - - James Mills <pro...@sh...> - HomePage: http://shortcircuit.net.au/~prologic/ - Phone: +61732166379 - Mobile: +61404270962 - Skype: therealprologic - MSN: pro...@sh... - ICQ: 98888663 - IRC: irc://shortcircuit.net.au#se Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html |
From: Mark W. A. <sl...@do...> - 2005-08-11 10:42:34
|
On Thu, Aug 11, 2005 at 03:17:41PM +0530, Devyani wrote: > Hi, > > I would like to know if PySSH modules work on windows. > If it works then could you please send me sample code that will > connect to Unix m/c and download a file from that m/c > using Cygwin or any other ssh client. I doubt it will work as is. It may work with Cygwin, but it checks for os.name == 'POSIX' so there will probably need to be some tweaking. Pyssh is currently just a wrapper around the ssh binaries, with nothing specific for scp. You may also want to look Twisted's Conch module (http://twistedmatrix.com/projects/conch/) to see if it's more suited to your purpose. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: Devyani <de...@gs...> - 2005-08-11 09:46:42
|
Hi, I would like to know if PySSH modules work on windows. If it works then could you please send me sample code that will connect to Unix m/c and download a file from that m/c using Cygwin or any other ssh client. Thanks -Devyani |
From: Ogz <com...@gm...> - 2005-07-28 12:23:58
|
After asking you my stuck points while i am writing my project, with all your help, i managed to finish a simple program, SEFIR. Thanx for everyone that helped me with my questions. It may be helpfull for the new beginners to Glade, Python and Pygtk, also the ones who want to use pyssh and gnome-python2.10: http://freshmeat.net/projects/sefir/ Also it will be helpfull to me with your further comments, additions and he= lp. |
From: Ogz <com...@gm...> - 2005-07-25 17:21:05
|
Here is a problomatic code for me: burncmd =3D "growisofs -M " + /dev/hdc + " " + "-R -J" + " " + some_files #= =20 self.lbl_something.set_text(txt) while gtk.events_pending(): gtk.main_iteration() ssh =3D Ssh(user,host) ssh.login() while ssh.sendcmd(burncmd, readtype=3D0): print 'this will send and wait the output of the command' ssh.close()=20 With this code, i could only managed to burn files. If i send a dir path to the some_files part then it didnt burn the ingredients of the directory. There is a problem about using the readtype. If i use 2, it blocks the code. If i use 1, it didnt work either. Another thing, at the while loop i want to get the return value of sendcmd: result =3D ssh.sendcmd(burncmd, readtype=3D0) then i will check the result. but i couldnt find how i will use it with whi= le? sendcmd sends some return values and lets say i want to concotaneta them during the while loop. I will be happy is someone tell me why i couldnt send file paths and managed to burn them with sendcmd, but only file paths. And also for the second problem, i need help.=20 With my best wishes. |
From: Ogz <com...@gm...> - 2005-07-25 13:18:12
|
burncmd =3D "growisofs -M " + burner + " " + "-R -J" + " " + some_files self.label_something.set_text(txt) while gtk.events_pending(): gtk.main_iteration(False) ssh =3D Ssh(user,host) ssh.login() print ssh.sendcmd(burncmd, readtype=3D2) print 'i want to see this line but never reurns from READ_ALL' And after sendcmd the program never returns. It waits for ever! I tried readtype =3D 1 which works sometimes fine, wometimes not. So i need readtype 2 without crushes, any solution? *************************************************************************** On 7/25/05, pier carteri <pie...@gm...> wrote: > Hi Ogz, >=20 > On 7/25/05, Ogz <com...@gm...> wrote: > > Here is a code that should show a text at a label and continue with > > ssh connection: > >=20 > > ....... > > some code > > ....... > >=20 > >=20 > > txt =3D "test" > >=20 > > self.lbl_burn.set_text(txt) > > self.MainWindow_Sefir.show_all () >=20 > I suspect (but I'm not completely sure) that here you should use > =20 > while gtk.event_pending(): > gtk.main_iteration() > =20 > Regards=20 > =20 > Pier > =20 > |
From: Ogz <com...@gm...> - 2005-07-25 06:50:50
|
Here is a code that should show a text at a label and continue with ssh connection: ....... some code ....... txt =3D "test" self.lbl_burn.set_text(txt) self.MainWindow_Sefir.show_all() print txt ssh =3D Ssh(user,host) ssh.login() result =3D ssh.sendcmd(burncmd, readtype=3D0) ..... some code ..... caution =3D CautionWindow() caution.Caution_label.set_text('ok') responselast =3D caution.Caution_window.run() I can not see the effect of the first set_text till teh Caution_window opens. If i take the ssh part out then it works correctly. I dont know why it is not set the label. Will be happy if someone help. |
From: Ogz <com...@gm...> - 2005-07-25 03:53:53
|
READ_ALL is not the one i am looking for i think. Because when i used it i was still getting not the whole output. So i used 0 that is READ_LAZY. Still same. result =3D ssh.sendcmd('growisofs -M /dev/hdc -R -J /some/files) print result=20 output: growisofs -M /dev/hdc -R -J /home/ishbaran/qbasic/baska_d=20 eleyiciler/FIRSTBAS.ZIP=20 Executing 'mkisofs -C 16,6720 -M /dev/fd/3 -R -J /home/ishbaran/qbasic/baska_deleyiciler/FIRSTBAS.ZIP | builtin_dd of=3D/dev/hdc obs=3D32k seek=3D420' INFO:=09ISO-8859-9 character encoding detected by locale settings. =09Assuming ISO-8859-9 encoded filenames on source filesystem, =09use -input-charset to override. Rock Ridge signatures found /dev/hdc: "Current Write Speed" is 4.1x1385KBps. ****************missing part********** Total translation table size: 0 Total rockridge attributes bytes: 18829 Total directory bytes: 49152 Path table size(bytes): 230 Max brk space used 21000 7088 extents written (13 MB) builtin_dd: 368*2KB out @ average infx1385KBps /dev/hdc: flushing cache The missing part: Is i use this command at tha console, eachline is seen one by one. So it is not a block out put i think. Any suggestion to get all the output? On 7/23/05, Mark W. Alexander <sl...@do...> wrote: > On Fri, Jul 22, 2005 at 05:25:40PM +0300, Ogz wrote: > > In my code i have something like: > > > > burncmd =3D "growisofs -M " + burner + " " + "-R -J" + " " + some_files > > > > result =3D ssh.sendcmd(burncmd, readtype=3D-2) /*reat type may be wrong= */ > ^ > = | > pyssh.READ_ALL is 2, not -2. Try changing|this. >=20 > mwa > -- > Mark W. Alexander > sl...@do... >=20 > The contents of this message authored by Mark W. Alexander are released u= nder > the Creative Commons Attribution-NonCommercial license. Copyright of quo= ted > materials, if any, are retained by the original author(s). >=20 > http://creativecommons.org/licenses/by-nc/2.0/ > |
From: Mark W. A. <sl...@do...> - 2005-07-23 00:19:47
|
On Fri, Jul 22, 2005 at 05:25:40PM +0300, Ogz wrote: > In my code i have something like: > > burncmd = "growisofs -M " + burner + " " + "-R -J" + " " + some_files > > result = ssh.sendcmd(burncmd, readtype=-2) /*reat type may be wrong*/ ^ | pyssh.READ_ALL is 2, not -2. Try changing|this. mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |
From: Ogz <com...@gm...> - 2005-07-22 14:25:56
|
In my code i have something like: =20 burncmd =3D "growisofs -M " + burner + " " + "-R -J" + " " + some_files result =3D ssh.sendcmd(burncmd, readtype=3D-2) /*reat type may be wrong*/ print result=20 But, i can not get the whole result value of the command. This is the result i got: growisofs -M /dev/hda -R -J /mnt/isolinux/=20 Executing 'mkisofs -C 16,192 -M /dev/fd/3 -R -J /mnt/isolinux/ | builtin_dd of=3D/dev/hda obs=3D32k seek=3D12' INFO:=09UTF-8 character encoding detected by locale settings. =09Assuming UTF-8 encoded filenames on source filesystem, =09use -input-charset to override. Rock Ridge signatures found /dev/hda: "Current Write Speed" is 4.1x1385KBps. How can get the whole result value. The rest of the return value should include something like these: Max brk space used 0 376 extents written (0 MB) builtin_dd: 192*2KB out @ average infx1385KBps /dev/hda: flushing cache /dev/hda: copying volume descriptor(s) /dev/hda: flushing cache /dev/hda: stopping de-icing /dev/hda: writing lead-out /dev/hda: reloading tray |
From: Ogz <com...@gm...> - 2005-06-29 13:01:56
|
ok i will ask my problem on the mailing list but will write you also: import pyssh connect =3D pyssh.Ssh('username', 'host', 'port') connect.login() connect.sendcmd("pwd") #shows the remote cwd connect.close() connect.open() connect.sendcmd("pwd") # first it shows a password and enters itself and didnt show the result i want to fix it. what is the usage of open and close functions? |