Forum Archive

Error when trying to start ssh from stash

KlMa

Hi
I am trying to use ssh from stash but receive the following:

StaSh v0.5.0
[~/Documents]$ ssh
pyte module not found.
StaSh ssh installing pyte...
Opening: https://codeload.github.com/selectel/pyte/zip/master
Save as: /private/var/mobile/Containers/Shared/AppGroup/02FA6CEE-1A00-462F-B842-260483ACFCD9/Documents/site-packages/pyte.zip (52161 bytes)
8192 [15.71%]
16384 [31.41%]
24576 [47.12%]
32768 [62.82%]
40960 [78.53%]
49152 [94.23%]
52161 [100.00%]
done
stash: : No module named wcwidth

Any ideas?
Regards
Klas

ywangd

pyte 0.5+ added dependency to wcwidth package. You can install it using pip install wcwidth.

KlMa

Thanks! It seem to work now.

Regards
Klas

KlMa

A related question. I am trying to login to my Lego Mindstorms brick (with ev3dev firmware) but get the following error:

[~/Documents]$ ssh.py --password maker robot@192.168.1.17
Connecting...
Looking for SSH keys...
No SSH key found. Trying password...
No handlers could be found for logger "paramiko.transport"
Auth Error
Connection Failed

I am able to login from my windows pc using putty.

Regards
Klas

ywangd

The builtin paramiko 1.13 has a known bug of being incompatible with OpenSSH 6.7+. The bug is fixed in paramiko 1.15+.

You can install the latest paramiko (current 1.16) by pip install paramiko. Then restart Pythonista to ensure the changes take effect.

Webmaster4o

@KlMa I also have an EV3 brick, I've installed ev3dev on mine as well. Let me know what you build, I'll be interested to use it.

KlMa

Thanks @ywangd , it works now.

Regards
Klas