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 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 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
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
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
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
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
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
My problem is in password authentication.
Lawrence D'Oliveiro wrote:
>
> In message <[EMAIL PROTECTED]>, sa6113
> wrote:
>
>> print "doing authentication"
> ...
>>
>> -
>> the result is :
> ...
>> doni
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
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()
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()
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
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
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
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
16 matches
Mail list logo