Windows does not have an ssh command, to help you connect to a Linux computer using SSH2. Use putty to connect to your Linux computer from a Windows computer. Pre-requisites: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlYou have generated your key pair using openSSH as shown here, on your Linux computer.You have installed putty on your Linux computer.You have a Windows … Continue reading Convert openSSH private key for use with Putty on Windows or Mobile Phones
Category: Server
Set up SSH using certificate authentication
You want to connect from the internet to your computer. Internet is an insecure medium to use. There are a few options. You could use a VPN like OpenVPN, or you could use Secured Shell using OpenSSH. Here is how you can connect to your computer using SSH. Pre-requisites: OpenSSH and putty installed on your … Continue reading Set up SSH using certificate authentication
Host your own web site on your desktop over ADSL broadband
On certain occasions, you need to create your own web server and try to connect to it over the Internet. This applies to any sort of server you wish to host like, Secured Shell, OpenVPN, database server and so on. If you are using an ADSL broadband connection from your ISP (Internet Service Provider), then … Continue reading Host your own web site on your desktop over ADSL broadband
Login to server using SSH
Normally, use of telnet to connect to a server is not recommended, as it is inherently insecure. In place of telnet, it is recommended to use SSH. SSH comes in 2 flavors. SSH-1, now defunct, due to security issues, and SSH-2. Always, make sure you use SSH protocol version 2 (SSH-2) to connect to your … Continue reading Login to server using SSH
Use gkrellm to watch and monitor system health parameters
Use the GNU krellm monitors to watch and monitor system health parameters. Very good for server environments where performance monitoring is part of the server administrator's job.
Access Windows Share from bash (linux shell)
# mkdir /mnt/location # mount -t cifs //server/share /mnt/location -o username=user, password=pass, domain=DOMAIN
Dump MySQL tables to text file for backup
$ mysqldump address --add-drop-database --add-drop-table --add-locks --complete-insert --flush-privileges -R --triggers > /home/user/addressdump.mysql Repeat above for every table in your system. You can also put it in a batch file for a series of tables. This is the only way to restore databases if you upgrade to MySQL to a major version. This was an exception, … Continue reading Dump MySQL tables to text file for backup
Apache chroot jail
Apache can be made more secure by using a chroot jail. Look at link http://www.faqs.org/securing/chap29sec254.html. Look for apache chroot jail.
/var/lib/mysql folder permissions in Linux
/var/lib/mysql (drwx-------) /var/lilb/mysql/mysql (drwx------) files in this folder should be (rw-rw----) Same for all databases folders Owner /var/lib # chown -R mysql.mysql mysql
LTSP – Linux Terminal Server Project
Used to set up Thin Clients in Linux.