2 Replies Latest reply: Jul 29, 2015 9:32 AM by Andre Dieball RSS

SteelScript SteelHead Connection error

Andre Dieball



I testing a bit with SteelScript and got it working on one machine. As this machine is in production, I wanted to switch to a virtual test machine for further testing.

This is running RiOS 9.1.0


when connection with steel script, I get:



No handlers could be found for logger "steelscript.cmdline.sshprocess"

Traceback (most recent call last):

  File "sysdump_createanddownload_scp.py", line 111, in <module>


  File "sysdump_createanddownload_scp.py", line 48, in main

    print "Connected to " + appliance + " in " + sh.cli.current_cli_mode() + " mode"

  File "/Users/adieball/.virtualenvs/steelscript/lib/python2.7/site-packages/steelscript/steelhead/core/steelhead.py", line 68, in cli


  File "/Users/adieball/.virtualenvs/steelscript/lib/python2.7/site-packages/steelscript/cmdline/cli/rvbd_cli.py", line 81, in start

    super(RVBD_CLI, self).start(start_prompt=start_prompt)

  File "/Users/adieball/.virtualenvs/steelscript/lib/python2.7/site-packages/steelscript/cmdline/cli/__init__.py", line 159, in start


  File "/Users/adieball/.virtualenvs/steelscript/lib/python2.7/site-packages/steelscript/cmdline/sshchannel.py", line 95, in start


  File "/Users/adieball/.virtualenvs/steelscript/lib/python2.7/site-packages/steelscript/cmdline/sshprocess.py", line 67, in connect

    raise exceptions.ConnectionError

steelscript.cmdline.exceptions.ConnectionError: Connection error.



I have no idea what could be wrong, as it's working perfectly fine on the production unit.


The virtual Steelhead is up and running, I can log in via ssh and web UI, system status is healthy ...


any help is highly appreciated.



  • Re: SteelScript SteelHead Connection error
    Wenxuan Guo



    As the current code capture the exception and does not give much output, can you run the following code and post the detailed exception info?


    transport = paramiko.Transport(host, 22)

    transport.banner_timeout = 5


    transport.auth_password(user, password, fallback=True)



    BTW, does your download script work on a steelhead? if yes, can you post your solution at the

    other thread? that way other people can benefit from your experience