<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: subhra74</title>
    <description>The latest articles on DEV Community by subhra74 (@subhra74).</description>
    <link>https://dev.to/subhra74</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F270343%2F3ee019dd-d36a-4d3f-ad30-5a28015a2e91.png</url>
      <title>DEV Community: subhra74</title>
      <link>https://dev.to/subhra74</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subhra74"/>
    <language>en</language>
    <item>
      <title>How to make your life easier on remote Linux servers (SSH)</title>
      <dc:creator>subhra74</dc:creator>
      <pubDate>Wed, 13 Nov 2019 13:41:13 +0000</pubDate>
      <link>https://dev.to/subhra74/how-to-make-you-life-easier-on-remote-linux-servers-ssh-g7m</link>
      <guid>https://dev.to/subhra74/how-to-make-you-life-easier-on-remote-linux-servers-ssh-g7m</guid>
      <description>&lt;p&gt;When it comes to accessing and performing activities on remote servers using SSH, there are only few choices one can get. Most people use Putty and a graphical SFTP client like WinSCP or FileZilla to get their job done. Alternatively one can use web based control panel like Cockpit or Ajenti, which provides web based terminal and some graphical tools.&lt;/p&gt;

&lt;p&gt;But still most of the time it's only the command line which becomes the last resort. Consider a few situation; you have to dig through some error messages from a huge log file of hundreds of mb or several gb.  Or you have to update some configuration file &lt;code&gt;/etc&lt;/code&gt; directory, which requires to use sudo while saving or changing the file. Command line is the only choice you have, and if you are not really a cli pro or simply do not want to go through all the hassle of using difficult command line options, you might face some difficulty.&lt;/p&gt;

&lt;p&gt;Well there is one tool that might be of some help, and it was written specifically to provide simple graphical interface for most common tasks performed on servers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Introducing &lt;a href="https://github.com/subhra74/snowflake"&gt;Snowflake&lt;/a&gt; SSH client
&lt;/h3&gt;

&lt;p&gt;Its an open source SSH client, with some built in useful tools, hosted on &lt;a href="https://github.com/subhra74/snowflake"&gt;GitHub.&lt;/a&gt;&lt;br&gt;
Lets see some common scenario where it can be useful.&lt;/p&gt;

&lt;h3&gt;
  
  
  Digging through huge log files
&lt;/h3&gt;

&lt;p&gt;Sure you can use grep, vi, nano or less, but all of them are a bit restricting. Alternatively you can download it to your computer and dig through it, however it will take significant time to download the file. Snowflake has a built in log viewer for this purpose. It analyzes the file on server (without downloading it) and divides it into pages. It allows searching through the pages as well. Result is much less memory consumption and smooth navigation through the file.&lt;/p&gt;

&lt;h3&gt;
  
  
  Editing or managing files with sudo
&lt;/h3&gt;

&lt;p&gt;If you need to edit a file, which is modifiable only by root user, you will again have to fall back to command line, using &lt;code&gt;sudo vi&lt;/code&gt; or &lt;code&gt;sudo nano&lt;/code&gt;.  Same is true for renaming/creating/deleting files or directories which requires root permission. Snowflake gives you a graphical alternative. Whenever you perform such actions via its built in text editor or file browser, you will be prompted for an option to use sudo. If you agree it will execute sudo for you.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DkQkMw2y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/text-editor/12.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DkQkMw2y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/text-editor/12.png" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Finding files
&lt;/h3&gt;

&lt;p&gt;Unix &lt;code&gt;find&lt;/code&gt; command is very powerful but also has a tough syntax. If you use Snowflake, you can do powerful search operations without learning all the command line options. Also it supports searching through compressed files like tar and zip as well.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mkJwTdfA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/search/14.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mkJwTdfA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/search/14.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Built in terminal
&lt;/h3&gt;

&lt;p&gt;If you use WinSCP or FileZilla, you need to launch Putty for performing command line operations. Snowflake has built in terminal emulator with command snippets.&lt;br&gt;
You can save your mostly used commands as snippets and run them later easily.&lt;br&gt;
Not only you can launch the terminal from file browser to switch to a folder in terminal, but also you can even execute a script from file browser itself. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8v6X3ZZf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/terminal/18.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8v6X3ZZf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/terminal/18.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DWQEU1DY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/file-browser/2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DWQEU1DY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/file-browser/2.png" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  View system load and processes
&lt;/h3&gt;

&lt;p&gt;If you are a Linux/Unix pro you can do this easily using &lt;code&gt;top&lt;/code&gt;. But it's not very friendly if you are new at this. Also &lt;code&gt;htop&lt;/code&gt; is great but usually not installed on most systems.&lt;br&gt;
Snowflake comes with a built in task manager like utility, which lets you view remote system load and processes easily. You can search, filter and kill processes very easily with an option for sudo. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xBci9A9f--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/system-monitor/21.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xBci9A9f--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/system-monitor/21.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j8gdyDsK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/system-monitor/22.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j8gdyDsK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/system-monitor/22.png" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Other helpful utilities
&lt;/h3&gt;

&lt;p&gt;Snowflake comes with many built in utilities like disk space analyzer, port analyzer, systemd service manager, SSH key manager etc which can provide alternative to many complex command like tools.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rvEOnVu4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/file-browser/4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rvEOnVu4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/file-browser/4.png" alt="enter image description here"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G2D5Hncd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/disk-analyzer/24.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G2D5Hncd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/disk-analyzer/24.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YZGsTN2X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/linux-tools/25.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YZGsTN2X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/linux-tools/25.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--opbogqSO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/linux-tools/27.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--opbogqSO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/linux-tools/27.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AeAPFVSd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/ssh-keys/28.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AeAPFVSd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/subhra74/snowflake-screenshots/raw/master/ssh-keys/28.PNG" alt="enter image description here"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you will find Snowflake useful and it will help you save some time and effort while using SSH and remote servers. If you feel some important utilities are missing, please suggest them on &lt;a href="https://github.com/subhra74/snowflake/issues"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>productivity</category>
    </item>
  </channel>
</rss>
