using paramiko problem? please help me

2008-10-26 Thread sa6113
I want to connect to a Windows machine in my network , using ssh, I use paramiko but I have problem in authentication, would you please help me? 1- I have installed freeSSHD in server machine? Is it necessery ? or may I have to install another program? 2- I have entered server's Ip insted of hos

which program I need for sftp using paramiko??

2008-10-22 Thread sa6113
which program I have to install for using paramiko for sftp between a two windows machine in local network?? I have installed freeSSHd for server machine but I got an Authentication failed erro when try to connect to server using this code : sock.connect((hostname, port)) t = paramiko.Transpo

which program I need for sftp using pramiko??

2008-10-22 Thread sa6113
which program I have to install for using paramiko for sftp between a two windows machine in local network?? I have installed freeSSHd for server machine but I got an Authentication failed erro when try to connect to server using this code : sock.connect((hostname, port)) t = paramiko.Transport

"Authentication failed" error using paramiko

2008-10-21 Thread sa6113
I am using this code to connect to a windows machine using paramiko, I have installed sshd on the machine and it works properly: sock.connect((hostname, port)) t = paramiko.Transport(sock) event = threading.Event() t.start_client(event) event.wait() if not t.is_active(): pr

authenticated problem for paramiko

2008-10-09 Thread sa6113
I am using this code to connect to a windows machine using paramiko, I have installed sshd on the machine and it works properly: sock.connect((hostname, port)) t = paramiko.Transport(sock) event = threading.Event() t.start_client(event) event.wait() if not t.is_active(): print 'S

Re: ssh problem using paramiko?

2008-10-08 Thread sa6113
I couldn't find any good source for download Openssh on the net? Would you please introduce a URL for download that? Steve Holden-5 wrote: > > sa6113 wrote: >> I use this code : >> >> >> import paramiko >> import socket >> >> hostn

ssh problem using paramiko?

2008-10-07 Thread sa6113
I use this code : import paramiko import socket hostname = "192.168.1.4" username = "test" port = 22 password = ''123456" # now connect try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((hostname, port)) except Exception, e: print 'Connect failed: ' + str(e

Re: sftp problem!

2008-10-06 Thread sa6113
Dear Mike, Thanks for your help, but I am new in paramiko,would you please help me more? May I connect to server by password insted of private key? How? I used this code: ... t.auth_password(username, password, event) ... but I received this error : paramiko.SSHException : No existing session I

Re: paramiko.SSHException : No existing session ???

2008-10-05 Thread sa6113
My problem is in password authentication. Lawrence D'Oliveiro wrote: > > In message <[EMAIL PROTECTED]>, sa6113 > wrote: > >> print "doing authentication" > ... >> >> - >> the result is : > ... >> doni

Re: sftp problem!

2008-10-05 Thread sa6113
what do you mean? Lawrence D'Oliveiro wrote: > > In message <[EMAIL PROTECTED]>, sa6113 > wrote: > >> host = "LinuxComputerName" (or its Ip) >> port = 22 >> >> and after runing this code I get this error: >> socket.erro

paramiko.SSHException : No existing session ???

2008-10-05 Thread sa6113
I use this code : hostname = "192.168.1.4" username = "test" port = 22 password = '123456' # now connect try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect_ex((hostname, port)) except Exception, e: print 'Connect failed: ' + str(e) traceback.print_exc()

paramiko.SSHException : No existing session ???

2008-10-05 Thread sa6113
I use this code : hostname = "192.168.1.4" username = "test" port = 22 password = '123456' # now connect try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect_ex((hostname, port)) except Exception, e: print 'Connect failed: ' + str(e) traceback.print_exc()

sftp problem!

2008-10-04 Thread sa6113
I want to use sftp from paramiko to copy a file from a windows machine to a Linux in the network, I use this code : host = "LinuxComputerName" (or its Ip) port = 22 transport = paramiko.Transport((host, port)) password = "LinuxComputerPassword" username = "LinuxComputerUserName" transport.connec

Re: using SSh problem!

2008-10-02 Thread sa6113
One of the Python implementations of SSH is called Paramiko. Ulrich Eckhardt wrote: > > sa6113 wrote: >> I want to connect form a windows machine to a Linux one using SSH (I use >> Paramiko) and simply copy a file to Linux machine. >> Would you please help me how

Re: using SSh problem!

2008-10-02 Thread sa6113
No, my problem isn't entering password or not ? I want to know what should I do to connect between different platform and copy a file . Lawrence D'Oliveiro wrote: > > In message <[EMAIL PROTECTED]>, sa6113 > wrote: > >> I want to connect form a windows machi

using SSh problem!

2008-10-02 Thread sa6113
I want to connect form a windows machine to a Linux one using SSH (I use Paramiko) and simply copy a file to Linux machine. Would you please help me how should I start? Is there any useful code? -- View this message in context: http://www.nabble.com/using-SSh-problem%21-tp19775680p19775680.html