Ask Your Question
1

Can't make remote host to work properly

asked 2018-03-16 19:18:00 -0500

red_1 gravatar image

updated 2019-03-15 09:57:54 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-03-17 08:53:00 -0500

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-r...

edit flag offensive delete link more

Comments

It worked. Thank you!

red_1 gravatar imagered_1 ( 2018-03-17 13:11:00 -0500 )edit

We've fixed bugs since this that should solve this installation problem.

Wingware Support gravatar imageWingware Support ( 2019-03-15 09:57:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-03-16 19:18:00 -0500

Seen: 12 times

Last updated: Mar 07