Linux users need to access SSH server frequently. Therefore, in order to facilitate our use, many users will install autossh on their own computers, which can help us manage SSH sessions and automatically reconnect. And stop forwarding traffic. So how do you install autossh on our computer? Let Xiaobian teach you now.
Installation:
Debian or Ubuntu system
autossh based foundation libraries have joined the Debian system, so it can be easily installed.
$ sudo apt-get install autossh
Fedora System
The Fedora library also contains the autossh package, which is installed using yum.
$ sudo yum install autossh
CentOS or RHEL system
CentOS/RHEL 6 or earlier, you need to open the third library Repoforge library before you can use yum to install.< Br>
$ sudo yum install autossh
After CentOS/RHEL 7, autossh is no longer in the Repoforge library. You need to compile and install from source (example below).
Arch Linux System
$ sudo pacman -S autossh
Compiling and installing from source on Debian or Ubuntu systems
If you want to use the latest version Autossh, you can compile the source installation yourself
$ sudo apt-get install gcc make
$ wget http://www.harding.motd.ca/autossh/autossh-1.4e.tgz
$ tar -xf autossh-1.4e.tgz
$ cd autossh-1.4e
$ ./configure
$ make
$ sudo make install
Compiling and installing from source code in CentOS, Fedora or RHEL system
After CentOS/RHEL 7, autossh is not a pre-compiled package. So you have to compile and install from source.
$ sudo yum install wget gcc make
$ wget http://www.harding.motd.ca/autossh/autossh-1.4e.tgz
$ tar - Xf autossh-1.4e.tgz
$ cd autossh-1.4e
$ ./configure
$ make
$ sudo make install
This is how to install autossh on a Linux system. If you don't know how to install autossh or users interested in autossh, use the above method to install it.
GOG is a foreign hot game sales website, we can buy and download popular games above, but GOG only h
In the Ubuntu system, a user must replace the original Firefox release version of the machine with t
When the Linux system is in use, the computer becomes very card, found that the php-cgi process is o
Recently, some Linux users have used MKDIR to find the system prompt: can not create directory `test
How to install Mongo extensions on Linux systems
How to view information about Linux loading built-in modules
How to handle Too many open files under Linux?
Backtrack how to open SSH service
Linux using shell scripts to measure high-speed network traffic
How to install and configure Vim IDE for Linux systems
Steps for creating RPM packages for Linux systems
Ubuntu 12.04 install Gnome Shell extension method
How to use commands to transfer files between Mac and Linux
Windows 7 Ultimate system automatically pops up the notepad when booting
How does WinXP use Vista's screen saver
Vista system hidden network tools
How to do fast potato without speeding up
Windows7 system shutdown, logout or restart button is gone. How to restore
Windows 8 mainstream social application logout account method
Win8 system prompts d3d11.dll module problems? What should I do?
Win7 failed to create a video preview. Please check how the device connection resolves
What are the ways to clean up Linux disk space?
Win10 Mobile RedStone Preview 14267 update content summary (continuous update)