<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>SSH on Lin's Blog</title><link>https://coder.tw/en/tags/ssh/</link><description>Recent content in SSH on Lin's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 22 Feb 2017 10:01:41 +0000</lastBuildDate><atom:link href="https://coder.tw/en/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>bash: warning: setlocale: LC_ALL: cannot change locale</title><link>https://coder.tw/en/posts/bash-warning-setlocale-lc_all-cannot-change-locale/</link><pubDate>Wed, 22 Feb 2017 10:01:41 +0000</pubDate><guid>https://coder.tw/en/posts/bash-warning-setlocale-lc_all-cannot-change-locale/</guid><description>&lt;p&gt;Seeing the error &amp;ldquo;-bash: warning: setlocale: LC_ALL: cannot change locale&amp;rdquo; when you log in to a remote server over SSH? You run into it because when SSH connects to a remote host, it automatically sends a copy of your local LC_* variables (the locale) to the remote host. If the server doesn&amp;rsquo;t support the locale you specified, you&amp;rsquo;ll get the error &amp;ldquo;-bash: warning: setlocale: LC_ALL: cannot change locale&amp;rdquo;!&lt;/p&gt;</description></item><item><title>How to Hook SSH Login and Send Notifications (Email or Others)</title><link>https://coder.tw/en/posts/how-to-hook-ssh-login-and-send-notification-email-or-others/</link><pubDate>Sat, 30 Jul 2016 11:01:44 +0000</pubDate><guid>https://coder.tw/en/posts/how-to-hook-ssh-login-and-send-notification-email-or-others/</guid><description>&lt;p&gt;When you first log in to Google or Facebook, they send you a notification email to improve security. I think many IT people wonder, &amp;ldquo;How can I do the same thing for SSH?&amp;rdquo; If every SSH login sends a notification to the system manager, that helps security.&lt;/p&gt;</description></item><item><title>How to Change the Default SSH Port 22 to Another Port?</title><link>https://coder.tw/en/posts/change-ssh-default-port-22/</link><pubDate>Sat, 16 Apr 2011 10:56:20 +0000</pubDate><guid>https://coder.tw/en/posts/change-ssh-default-port-22/</guid><description>&lt;p style="text-align: center;"&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-16_105528.jpg"&gt;&lt;img class="size-large wp-image-5027 aligncenter" title="2011-04-16_105528" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-16_105528-520x437.jpg" alt="" width="520" height="437" /&gt;&lt;/a&gt;▲▲With SSH, you can do a lot of work on a remote host&lt;/p&gt;
SSH comes built into almost every Linux system. It makes it easy to connect to and manage your host. Once you are connected over SSH, you can do a lot of work on your server. But that also makes SSH a likely target for attacks. The default SSH port is 22, so if someone guesses your password, your server is in serious danger. That is why this post covers a second layer of protection: changing the default port. With that in place, an attacker needs to know not only your password, but also which port you are using.</description></item><item><title>[Firefox 4] FireSSH: An Add-on for Making SSH Connections Directly from Firefox</title><link>https://coder.tw/en/posts/firefox-extension-firessh-ssh/</link><pubDate>Fri, 08 Apr 2011 08:00:40 +0000</pubDate><guid>https://coder.tw/en/posts/firefox-extension-firessh-ssh/</guid><description>&lt;p style="text-align: center;"&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-05_003704.jpg"&gt;&lt;img class="size-large wp-image-4992 aligncenter" style="border: 1px solid black;" title="2011-04-05_003704" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/04/2011-04-05_003704-520x254.jpg" alt="" width="520" height="254" /&gt;&lt;/a&gt;&lt;/p&gt;
If you use a VPS or play with Linux, you're probably no stranger to SSH. It's something every Linux user has to learn. SSH is like remote control, except it's text-based instead of graphical. Normally I use PuTTY for SSH connections. On iOS devices (iPhone, iPad, and so on), I use iSSH. But what about in a browser? With the FireSSH add-on, you can make SSH connections right while you browse, without opening another program~
&lt;h2&gt;</description></item><item><title>[Linux] How to Change a User Password (Also for Changing the SSH Password on iOS)</title><link>https://coder.tw/en/posts/linux-change-user-password/</link><pubDate>Fri, 18 Mar 2011 15:59:06 +0000</pubDate><guid>https://coder.tw/en/posts/linux-change-user-password/</guid><description>&lt;p&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/03/2011-03-18_160128.jpg"&gt;&lt;img class="size-large wp-image-4913 aligncenter" title="2011-03-18_160128" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/03/2011-03-18_160128-520x395.jpg" alt="" width="520" height="395" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On Linux systems, for security reasons, every account must have a password. A user must enter the correct password to log in to the system. This article shows you how to change account passwords when you manage a Linux host or a VPS. The same method also applies to jailbroken iPads and iPhones and other iOS devices. iOS&amp;rsquo;s default password is &amp;ldquo;alpine,&amp;rdquo; so if you never change it and your iOS device is jailbroken, it could be attacked.&lt;/p&gt;
&lt;h2&gt;</description></item><item><title>Pietty - An SSH Client with Chinese Support (Originally Based on PuTTY)</title><link>https://coder.tw/en/posts/pietty-chinese-ssh-client/</link><pubDate>Thu, 24 Feb 2011 22:55:01 +0000</pubDate><guid>https://coder.tw/en/posts/pietty-chinese-ssh-client/</guid><description>&lt;p&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-24_223747.jpg"&gt;&lt;img class="aligncenter" title="2011-02-24_223747" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/02/2011-02-24_223747.jpg" alt="" width="421" height="301" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PuTTY is a well-known SSH client, and it&amp;rsquo;s very easy to use. But it has a drawback: it&amp;rsquo;s in English, and when you connect over SSH with PuTTY, you can&amp;rsquo;t type Chinese characters. That&amp;rsquo;s very inconvenient for users in Taiwan, which is why Pietty was born~ In short, Pietty is PuTTY with Chinese input and a Chinese interface. Pietty also offers many helpful extras, such as transparent windows and SFTP transfers.&lt;/p&gt;</description></item></channel></rss>