Explore information related to putty


Using DigitalOcean Droplet on PuTTY ssh client

This article covers how to use Putty on the Digitalocean platform. In fact, DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger, cloud-based infrastructure.


How to Destroy a Droplet from the DigitalOcean Control Panel ?

Deleting a Droplet permanently and irreversibly destroys the Droplet and its contents, and its automated backups. Optionally, you can also destroy a Droplet and its associated snapshots, volumes, and volume snapshots. 

  • To save one or more of the backup images, convert the backup into a snapshot before deleting the Droplet.
  • To destroy a Droplet from the control panel, open the Droplet's More menu and click Destroy. Alternately, you can click the Droplet's name to access its main page and select Destroy from the left menu.
  • On the Destroy page, there are two headings: Destroy Droplet and backups and Rebuild Droplet. Under Destroy Droplet and backups, you can choose to destroy the Droplet and its backups. If the Droplet has associated resources, you can also choose to delete some or all of them, but they are not destroyed by default.
  • If you wish to retain a backup, you must convert it to a snapshot before deleting it. Any associated reserved IP addresses, load balancers, or firewalls still need to be deleted individually.

Read More



Different methods to Open a File in Linux

This article covers the different methods to open a file in Linux via a terminal. In fact, In Linux, we can display various file formats such as text file, audio files, video, image, doc, pdf, or any other file contents.


How to Open File Using gnome-open Command ?

For the GNOME-based Linux environment, we can use the gnome-open command to open a file.

If the gnome utility is not installed on our machine, we can install it by using the following command:

$ sudo apt install libgnome2-bin  

Execute the above command and provide the system administrator password to install the GNOME utility.

Now, to display the file content, execute the command as follows:

$ gnome-open Test.txt  

The above command will open the file with the default file system.

There are some other popular Linux environments, such as KDE DESKTOP, OS X UNIX, and more.

For KDE Desktop, execute the command as follows:

$ kde-open <file name>  

or,

$ xdg-open <file name>  

For OS X UNIX, execute the command as follows:

$ open <file name> 

Read More



Install Emacs Editor in Linux Mint 20 - Best Method ?

This article covers how you can install and uninstall the Emacs editor via different ways. Emacs is a free, open source, extensible and customizable text editor. It is multiplatform and we will find it available for Gnu / Linux, Windows and Mac.

Read More



Prevent SSH From Timing Out - Best Method ?

This article covers different ways of keeping SSH sessions alive and preventing them from needlessly timing out. These are handy tips that you can use especially when there are no associated risks with someone taking over your SSH session when you are away. SSH sessions will timeout and the client will automatically be disconnected from the server after being idle or inactive for a while. 


To Avoid SSH timeout from the server:

1. Edit SSHd configuration file using your favorite editor,

$ sudo vi /etc/ssh/sshd_config

2. Set these options as the followings:

TCPKeepAlive no 
ClientAliveInterval 30
ClientAliveCountMax 240

Here, the server will not send the TCP alive packet to check if the client's connection is working, yet will still send the encrypted alive message every 30 seconds. It will only disconnect after at least 2 hours of inactivity. 

Read More



Install Emacs Editor in Debian 10 - Best Method ?

This article covers the different methods to install Emacs on Debian OS. Emacs is a widely used open-source text editor for Linux. It exists for many years now and can be used for basic word processing, code editing, and scripting, etc.


How to Install Emacs editor on Debian ?

1. To start the installation process, login with root and update the package repository with the following command.

$ apt-get update

2. Next, run the following command on the terminal and wait for the operation to complete. This can take several minutes. When you are asked for confirmation, press Y from your keyboard.

$ apt-get install emacs

Read More



Install Putty on CentOS 8 - Best Method ?

This article covers how to Install putty on CentOS 8. With putty, you can easily connect your Linux system to a remote system. Putty is a free and open source ssh & telnet client. Putty is available for Windows, Linux, Unix and macOS. Using putty, we can access the remote servers and switches over ssh protocol. It can also be used to take serial console of remote systems.


How to perform Putty Installation on CentOS / RHEL / Fedora ?

Putty package is available in the default CentOS and RHEL repositories. So, to install putty run:

$ sudo yum install putty -y

Or

$ sudo dnfs install putty -y

Read More




For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com