The blog lists some frequently used code snippets found in shell programming.
This blog lists some recipes for
This blog lists some recipes that is related to
Octopress is a Ruby-based framework for generating static blog sites. This post will show the most basics of Octopress to get started on blogging quickly.
Setting up public-key SSH on Windows is much more tricky than on Linux (see here).
(1) Log into a Linux system (for CentOS, v5.8 or better) with your user account.
(2) Go to the directory
~/.ssh. If such directory is not present, create one and set the permissions to 755.
1 2 3
(3) Generate your private and public keys
When you get “Enter passphrase (empty for no passphrase):”, you can hit enter for a null passphrase for now.
The passphrase can be changed later by using the -p option.
Note that from the
man page: “USING GOOD, UNGUESSABLE PASSPHRASES IS STRONGLY RECOMMENDED.”.
ssh-keygen returns with “You must specify a key type (-t).”, then add the flag “-t rsa”.
(4) The ssh-keygen tool stores the private key in
$HOME/.ssh/id_rsa and the public key in
$HOME/.ssh/id_rsa.pub in the user’s home directory.
The user should then copy the contents of
id_rsa.pub to the
$HOME/.ssh/authorized_keys file in his home directory on the remote machine.
Verify that you have and authorized_keys file in ~/.ssh. If not create one and set the permissions:
Verify that you have a known_hosts file
If not, you can begin to populate this file by doing an ssh session to the system you want to connect to and
yes to this question:
1 2 3