The LogMeIn Host Software (Beta) is available for Linux.
Each Linux host is displayed like any other host in your Computers list. When you connect to a Linux host, a remote terminal shell opens and it allows you to send commands to the host computer.
Python version 3.4+ is required with some PyPi dependencies. To install the dependencies run the following after cloning this repository:
$ pip3 install -r requirements.txt
Nodejs and yarn are needed.
$ cd reverse-proxy/
$ yarn install
Generate an Installation Package and retrieve the Deployment Code
- In LogMeIn Central, go to the Deployment page.
- On the Deployment page, click Add Installation Package. The Installation Package page is displayed.
- Fill in the necessary fields and select the appropriate options for the remote installation.
- Click Save Settings. The Deploy Installation Package page is displayed.
- On the Deploy Installation Package page, copy the Installation Link.
Example:
https://secure.logmein.com/i?l=en&c=01_bma2ecmmg4coyxou9oo6yhhvw0ewi3estniee
Register the host in the LogMeIn Central Use the Installation Link or the deployment code itself:
# Use the whole url
$ python3 logmein_host/logmein_host.py --deployment-code 'https://secure.logmein.com/i?l=en&c=01_bma2ecmmg4coyxou9oo6yhhvw0ewi3estniee'
# or just the code
$ python3 logmein_host/logmein_host.py --deployment-code "01_bma2ecmmg4coyxou9oo6yhhvw0ewi3estniee"
Run the wetty
$ sudo node reverse-proxy/node_modules/wetty/index.js --port 23822 --title LogMeIn --base /xterm/ --host 127.0.0.1 --forcessh &
Run reverse proxy
$ sudo node reverse-proxy/app.js &
Run pytty
, the web terminal app that will connect to the localhost using ssh and forward the tty to the browser:
$ sudo python3 pytty/pytty.py &
Then run logmein_host
which connects pytty
to the LogMeIn gateways:
$ sudo python3 logmein_host/logmein_host.py &
Contributed by Jerry
- Update README (11/21/2023)
- Add run.sh to run locally with snap (11/21/2023)
- Update the pytty to ask for ssh port during connection. (11/21/2023)
- Update Snap nodejs version to 16.19.1 (11/21/2023)
Copyright (c) 2018 LogMeIn, Inc.
Licensed under the MIT License