create ssh keys in your local machine (if you don't have any yet)
ssh-keygen -t rsa
This will create two keys id_rsa and id_rsa.pub
In the remote machine, create a .ssh directory in your home directory
set permission to 700 by, chmod 700 .ssh
create an authorized_keys file in the .ssh directory by
touch authorized_keys
copy the public key into this file by,
cat id_rsa.pub >> authorized_keys
set the permission of authorized_keys to 640
Now you can access the remote machine without passwords!
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Saturday, August 16, 2008
Subscribe to:
Posts (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
By default when you install MacTex and use TexShop for writing and compiling latex you will get PDFs with page size A4. This is all fine for...
-
These three terms are explained below. Anaphora is a back ward reference. Ex: I gave a banana to the monkey which it ate. Here "it"...