Install webssh on Debian Rumi, August 6, 2020August 7, 2020 You need to have PIP installed on your debian system. Check if it’s already installed, if not, install one of the available edition. My setup included Debain 10 (buster) PIP 3 Installing pip for Python 3 Perform the following steps as a user with sudo privileges to install Pip for Python 3 on Debian 10: Start by updating the package list: sudo apt update Install pip for Python 3 and all of its dependencies with the following command: sudo apt install python3-pip Print the pip3 version to verify the installation: pip3 --version Installing pip for Python 2 (for backward compatible edition) The following steps describe how to install Pip for Python 2 on Debian systems: Start by updating the packages index: sudo apt update Install pip for Python 2 and all of its dependencies: sudo apt install python-pip Verify the installation by issuing the following command which will print the pip version: pip --version Quickstart for Webssh: Install this app, run command pip3 install webssh Start a webserver # start a http server with specified listen address and listen port (No SSL) wssh --address='0.0.0.0' --port=8022 --fbidhttp=False Now hit your browser with http://<your-server-ip>:8022 Below like screen will appear- Webssh Hacks # start a https server, certfile and keyfile must be passed wssh --certfile='/path/to/cert.crt' --keyfile='/path/to/cert.key' # missing host key policy wssh --policy=reject # logging level wssh --logging=debug # log to file wssh --log-file-prefix=main.log # more options wssh --help Docker installation If you’re interested with docker you can also play around. It’s simple- docker pull snsyzb/webssh docker run -d -p 10000:10000 snsyzb/webssh wssh --address=0.0.0.0 --port=10000 The command above will start running a container listening the port 10000 or more tweaks you may browse the project link here- https://pypi.org/project/webssh/ Related Administrations Configurations (Linux) PIPPIP 3WebSSH
Disable gpgcheck on command line with yum install March 12, 2024 It’s pretty straightforward, just hit- yum –nogpg install <package_name> Related Read More
Disable swap in Linux February 24, 2020 Identify configured swap devices and files with cat /proc/swaps. Turn off all swap devices and files with swapoff -a. Remove any matching reference found in /etc/fstab. Optional: Destroy any swap devices or files found in step 1 to prevent their reuse. Due to your concerns about leaking sensitive information, you… Read More
Java plug-in does not work in Firefox after installing Java May 1, 2020 Tested on Firefox 42 (old release) and Sea-Monkey 2.46/2.49. There are several workaround options. The simplest method is noted first and is recommended. The remaining available options are not recommended for non-technical users. Option 1: Add property name dom.ipc.plugins.java.enabled in Firefox preferences 1. Launch Firefox 2. Type about:config in the… Read More