Sshwifty is a tool that allows users to SSH into remote servers in a more efficient way. It saves you time by allowing you to quickly switch between different servers by using aliases. This tutorial will guide you through the process of installing Sshwifty on your MXLinux Latest machine.
You will need to have the following installed on your machine:
To install Git, open a terminal window by pressing CTRL + ALT + T
. Then, run the following command:
sudo apt-get install git
Enter your password and press "Enter" to proceed.
Once Git is installed, you can clone the Sshwifty repository by running the following command:
git clone https://github.com/nirui/sshwifty.git
This will create a new directory called "sshwifty" in your home directory.
To install Sshwifty, navigate to the "sshwifty" directory by running the following command:
cd sshwifty
Next, run the following command to install Sshwifty:
sudo make install
This will install Sshwifty to your system. You can now use it to SSH into remote servers using aliases.
You will need to configure Sshwifty by editing the ~/.sshwiftyrc
file. This file is where you define your aliases for different servers.
To edit the file, run the following command:
nano ~/.sshwiftyrc
Add your aliases to this file using the following syntax:
alias_name=ssh_user@ssh_host
Replace alias_name
, ssh_user
, and ssh_host
with the appropriate values for your server.
Once you have added your aliases, save and exit the file by pressing CTRL + X
, followed by Y
, and then Enter
.
To SSH into a remote server using Sshwifty, simply enter the following command:
sw alias_name
Replace alias_name
with the name of the alias you defined in the ~/.sshwiftyrc
file.
Congratulations! You have successfully installed and configured Sshwifty on your MXLinux Latest machine.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!