Recipes with ssh-add
command.
SSH Cookbook: Ssh
This blog lists some recipes that is related to ssh
commands.
Octopress Cookbook
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.
Set Up Public-key SSH on Windows
Setting up public-key SSH on Windows is much more tricky than on Linux (see here).
Set Up Public-key SSH on Linux
(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
1
|
|
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.”.
If 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:
1 2 |
|
Verify that you have a known_hosts file ~/.ssh/known_hosts
.
If not, you can begin to populate this file by doing an ssh session to the system you want to connect to and
answer yes
to this question:
1 2 3 |
|
Links
Optical Flow Demo
This is my only presence on Youtube. The demo is done for a presentation in the course “EE 243: Advanced Computer Vision” at UCR. It implements Lucas-Kanade method for optical flow tracking, using a very old version (1.0) of OpenCV.