Can't make remote host to work properly


235
views
0
5 months ago by
red_1  
I'm having trouble setting up connection to remote host (Ubuntu 16.04 on AWS from Windows 10 machine with Wing IDE 6.0.10-1).
Wing IDE installs agent, but after i try to test connection this happens:
Connecting to host id AWS failed.

The remote agent was not found. Do you want to install it now?

Output received:

Connecting to xxxx port 22 
We claim version: SSH-2.0-PuTTY_Release_0.70 
Server version: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 
Using SSH protocol version 2 
Doing ECDH key exchange with curve Curve25519 and hash SHA-256 
Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them 
Host key fingerprint is: 
ssh-ed25519 256 xxxx 
Initialised AES-256 SDCTR client->server encryption 
Initialised HMAC-SHA-256 client->server MAC algorithm 
Initialised AES-256 SDCTR server->client encryption 
Initialised HMAC-SHA-256 server->client MAC algorithm 
Reading key file "c:\Users\xxxx\Documents\Kitty\xxxx.ppk" 
Using username "ubuntu". 
Offered public key 
Offer of public key accepted 
Authenticating with public key "imported-openssh-key" 
Sent public key signature 
Access granted 
Opening session as main channel 
Opened main channel 
Requesting remote port 50010 forward to 127.0.0.1:50299 
Remote port forwarding from 50010 enabled 
Started a shell/command 
Traceback (most recent call last):
  File "/home/ubuntu/wingware/remoteagent.py", line 159, in <module>
    wingversion = _LoadFromWingbase(WINGHOME, 'wingversion')
  File "/home/ubuntu/wingware/remoteagent.py", line 69, in _LoadFromWingbase
    raise ValueError("Could not find %s in winghome: %s" % (mod_base_name, winghome))
ValueError: Could not find wingversion.py in winghome: /home/ubuntu/wingwareSSH client exited errno=0​

There is indeed no "wingversion.py" in winghome on remote host.

drwxrwxr-x 3 ubuntu  4096 Mar 16 22:49 bin
-rw-rw-r-- 1 ubuntu 15027 Mar 16 22:49 LICENSE.txt
-rw-rw-r-- 1 ubuntu  7303 Mar 16 22:49 remoteagent.py
drwxrwxr-x 4 ubuntu  4096 Mar 16 22:49 src
-rw-rw-r-- 1 ubuntu    56 Mar 16 22:49 VERSION
-rwxrwxr-x 1 ubuntu  2839 Mar 16 22:49 wingdb
-rw-rw-r-- 1 ubuntu 12392 Mar 16 22:49 wingdbstub.py
-rw-rw-r-- 1 ubuntu    23 Mar 16 22:49 wingdebugpw
​
Am i doing something wrong?
Community: Wing Python IDE

1 Answer


2
5 months ago by
It looks like the install is failing for some reason.  I've seen other reports from people using AWS that this happens, although we're not sure yet why.  Try installing manually as described here:  http://wingware.com/doc/proj/manual-remote-install
It worked. Thank you!
written 5 months ago by red_1  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »