Below you will find pages that utilize the taxonomy term “Ssh”
Limit SSH to Copy a Single File Only
I want to allow host-2 to copy a file securely from host-1, so the easiest way is to use “scp” command which use “ssh” as a transport to copy the file.
If you want to do it manually it is straight forward “scp” invocation:
host-2$ scp host-1:data.csv .
But if you want to automate it you have to use “ssh” keys, but this means leaving a private ssh key on host-2 that can access host-1 without any restriction, i.e.
Protect your Server with Fail2Ban
Fail2ban is a program that scan your log files for any malicious behavior, and automatically block the offending IP.
Fixing “cannot change locale (UTF-8)” error
I am trying new way to fix the annoying “cannot change locale (UTF-8)” error, this error usually show when you login from your OSX to a Linux machine:
Putty Tray: The best SSH client?
PuTTY Tray is an improved version of PuTTY. It features some cosmetic changes, and a number of addons to make it more useful and much more fun to use.
The features that I really like:
- Minimizing to the system tray
- Portability: optionally stores session configuration in files (for example: on a USB drive) like portaPuTTY
- Reconnects when your PC wakes up from stand-by / Attempts to reconnect when the connection fails