Future releases of UWM will embed “ssh://” or “telnet ://” links directly into simulation session pages. This allows the user to click on these links and the browser will launch the appropriate command in a new terminal. This guide has instructions how to acquire and use a provided script that modifies a Linux desktop environment to allow this process.
If you are running Lubuntu (Ubuntu with the LX desktop environment / LXDE) pay close attention to the messages from the script, as you may have to do an extra, manual steps to complete the system configuration.
Known working systems and browsers
- Linux OS
- Ubuntu 14.4+
- Fedora 22
- CentOS 7
This tutorial will guide you through the creation of an SSH and Telnet handler so your system will understand connectivity shortcuts from supported browsers.
Note: DO NOT run commands as ‘root’ or ‘sudo’ unless explicitly asked to do so.
- Launch your preferred terminal application and run the following commands
chmod u+x install-terminal-handler.sh
- Follow the prompts while the script executes
- You will need to log out and back in once the script has finished running
Testing The Handler
- Open Firefox
- In the browser's address bar type:
- In the pop-up window click OK to launch the terminal application
Note: The handler script understands URIs of the generic form
handler://username@host:port. Handler can be ‘ssh’ or ‘telnet’, the ‘username@’ is optional and is only useful for SSH. The :port parameter is also optional and works for both, SSH and Telnet.
NOTE: The username will be automatically inserted by the SSH command. In order to login successfully, your username needs to be valid on the remote system. If you see the terminal application open with the intended IP address, then everything is working as expected.