aluzzardi / wssh

SSH to WebSockets Bridge
MIT License
1.37k stars 273 forks source link

Can it be used with Python3? #20

Open zwbzzp opened 8 years ago

zwbzzp commented 8 years ago

I want to use it with Python3.If it can be supported by Python3, that's great!

sorgloomer commented 7 years ago

Hey @zwbzzp ! I just implemented a similar project based on wssh to support my needs. It's written in python3, check it out: https://github.com/sorgloomer/websocket_terminal

tartavull commented 5 years ago
Traceback (most recent call last):
  File "/Users/itq/miniconda3/bin/wsshd", line 4, in <module>
    __import__('pkg_resources').run_script('wssh==0.1.0', 'wsshd')
  File "/Users/itq/miniconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Users/itq/miniconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1445, in run_script
    code = compile(source, script_filename, 'exec')
  File "/Users/itq/miniconda3/lib/python3.7/site-packages/wssh-0.1.0-py3.7.egg/EGG-INFO/scripts/wsshd", line 97
    print '{0} running on {1}:{2}'.format(agent, args.host, args.port)

it doesn't look like

glensc commented 3 years ago

https://github.com/aluzzardi/wssh/pull/17

glensc commented 3 years ago

@sorgloomer your version also doesn't run with the latest python3: