Table of Content

gateone

HTML5-powered terminal emulator and SSH client

download gateone 1.1 source

https://github.com/liftoff/GateOne/downloads

$ wget https://github.com/downloads/liftoff/GateOne/gateone-1.1.tar.gz

install gateone from source

$ tar zxvf gateone*.tar.gz; cd gateone*; sudo python setup.py install

the gateone 1.1 released by 2012, only working well with tornado 2.4.1

$ pip install tornado==2.4.1

running gateone

sudo python gateone.py
[I 190503 17:32:35 gateone:3054] Listening on https://*:443/
[I 190503 17:32:35 gateone:3088] pid file removed.
Traceback (most recent call last):
File "gateone.py", line 3101, in
main()
File "gateone.py", line 3055, in main
https_server.listen(port=options.port, address="")
File "/home/oldhorse/.local/lib/python2.7/site-packages/tornado/netutil.py", line 120, in listen
sockets = bind_sockets(port, address=address)
File "/home/oldhorse/.local/lib/python2.7/site-packages/tornado/netutil.py", line 286, in bind_sockets
sock.bind(sockaddr)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

looks like default 443 port used, as remedy, changed listen port 8443 in server.conf,

$ sudo python gateone.py
[I 190503 17:34:50 gateone:3054] Listening on https://*:8443/
[I 190503 17:34:50 gateone:3060] Process running with pid 295
[E 190503 17:35:20 gateone:1046] Access denied for origin: https://127.0.0.1:8443

add https://127.0.0.1:8443; to origins in server.conf
origins = "https://127.0.0.1:8443;http://localhost;https://localhost;http://127.0.0.1;https://127.0.0.1;https://127.0.1.1"

it is working now.