omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Error when trying to start ssh from stash

    Pythonista
    ssh stash
    3
    7
    6196
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KlMa
      KlMa last edited by

      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: <type 'exceptions.ImportError'>: No module named wcwidth

      Any ideas?
      Regards
      Klas

      1 Reply Last reply Reply Quote 0
      • ywangd
        ywangd last edited by

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

        1 Reply Last reply Reply Quote 1
        • KlMa
          KlMa last edited by

          Thanks! It seem to work now.

          Regards
          Klas

          1 Reply Last reply Reply Quote 0
          • KlMa
            KlMa last edited by

            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

            Webmaster4o 1 Reply Last reply Reply Quote 1
            • ywangd
              ywangd last edited by 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.

              KlMa 1 Reply Last reply Reply Quote 0
              • Webmaster4o
                Webmaster4o @KlMa last edited by

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

                1 Reply Last reply Reply Quote 0
                • KlMa
                  KlMa @ywangd last edited by

                  Thanks @ywangd , it works now.

                  Regards
                  Klas

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors