bash: warning: setlocale: LC_ALL: cannot change locale

Seeing the error “-bash: warning: setlocale: LC_ALL: cannot change locale” 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’t support the locale you specified, you’ll get the error “-bash: warning: setlocale: LC_ALL: cannot change locale”! ...

February 22, 2017 · 1 min

How to Hook SSH Login and Send Notifications (Email or Others)

When you first log in to Google or Facebook, they send you a notification email to improve security. I think many IT people wonder, “How can I do the same thing for SSH?” If every SSH login sends a notification to the system manager, that helps security. ...

July 30, 2016 · 2 min

How to Change the Default SSH Port 22 to Another Port?

▲▲With SSH, you can do a lot of work on a remote host 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....

April 16, 2011 · 2 min

[Firefox 4] FireSSH: An Add-on for Making SSH Connections Directly from Firefox

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~ ...

April 8, 2011 · 1 min

[Linux] How to Change a User Password (Also for Changing the SSH Password on iOS)

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’s default password is “alpine,” so if you never change it and your iOS device is jailbroken, it could be attacked. ...

March 18, 2011 · 1 min

Pietty - An SSH Client with Chinese Support (Originally Based on PuTTY)

PuTTY is a well-known SSH client, and it’s very easy to use. But it has a drawback: it’s in English, and when you connect over SSH with PuTTY, you can’t type Chinese characters. That’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. ...

February 24, 2011 · 1 min