SSH Password-less login
Posted on August 12, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
First generate a public key
1.rrs@geeKISSexy:~$ ssh-keygen -t dsa
2.Generating public/private dsa key pair.
3.Enter file in which to save the key (/home/rrs/.ssh/id_dsa):
4.Created directory '/home/rrs/.ssh'.
5.Enter passphrase (empty for no passphrase):
6.Enter same passphrase again:
7.Your identification has been saved in /home/rrs/.ssh/id_dsa.
8.Your public key has been saved in /home/rrs/.ssh/id_dsa.pub.
Enter the command "ssh-keygen -t dsa" (line 1.).
When prompted on file where key is saved just hit "Enter" (line 3.).
When prompted for a passphrase just hit "Enter" (line 5.).
When prompted to confirm passphrase hit "Enter" a second time (line 6.).
Once you have created your public key you can copy it to the server.
1.rrs@geeKISSexy:~$ ssh-copy-id -i ~/.ssh/id_dsa.pub rrs@learner
25
3.The authenticity of host 'learner (192.168.1.1)' can't be established.
4.RSA key fingerprint is 8a:8a:53:b3:1c:d6:72:b5:e9:e8:7d:c7:81:8c:6f:0b.
5.Are you sure you want to continue connecting (yes/no)? yes
6.Warning: Permanently added 'learner' (RSA) to the list of known hosts.
7.rrs@learner's password:
8.Now try logging into the machine, with "ssh 'rrs@learner'", and check in:
Enter the command "ssh-copy-id -i [location of key] [username@server IP] (line 1.).
You may get some complaints due to defaults but when prompted to continue enter "yes" (line 5.).
You will next be prompted to enter the user's password (line 7.). Remember the user password must be the same on the the client and server
Finally you will be asked to see if you can log in via ssh on the server (line 8.).
If everything is correct you should now be able to log in on the server in a your user account without having to enter a password.
rrs@geeKISSexy:~$ ssh rrs@learner
Last login: Sat Aug 12 11:21:54 2006
Wikimapia
Posted on July 20, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Bye Bye Bootsplash
Posted on July 13, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Wow!
This is called freedom. **Bootsplash **has been a great eye-candy
application in the Linux arena but now it’s time to say goodbye.
I just tried splashy and its a charm. The great thing is that it doesn ’t
need a patched kernel. So newbies or people who don’t prefer to rollout their
own kernel can use splashy and have a clean boot up.
pypt-offline 0.6.Beta Released
Posted on July 9, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
I’m happy that a new release has been possible.
This new release is almost a complete re-write and has many fixes and
features.
For details, visit:
http://pypt-offline.sf.net
There’s also a small HOWTO about pypt-offline
Cheers!
Ritesh
pypt-offline – An Offline Package Manager
(C) 2005, 2006 Ritesh Raj Sarraf rrs@researchut.com
INTRODUCTION
So you’ve decided to give this small piece of work a try.
Good ! Let’s get it done faster.
pypt-offline is an offline package management tool written in the Python
Programming Language. This program, as of now, is intended for people using
Debian (And Debian based) systems.
[Read More]Software Suspend 2 with root/swap on LVM
Posted on July 7, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Disclaimer: YMMV
I had always had failures with Software Suspend 2 (swsusp2) on my laptop
because of which I had a perception that it really wasn’t ready for use for
beta users also. But recently after reading the comments of many users on LWN
I felt how wrong I actuall was.
Anyways, setting up swsusp2 with root/swap on LVM is a little tricky. From my
past experience I’ve felt that to be the major reason for me to not able to
use this excellent feature.
[Read More]Creative Destructivity
Posted on July 4, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Creative Destructivity by Raghavendra Buddi

Good Morning
Posted on June 30, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Good Morning. Good Food. Good Place…….

Finally, I ended up with a change.
Debugging Techniques
Posted on June 13, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Abnormal Program Termination are not something just seen on Microsoft
Windows. I hope most users will have seen some kind of program error in
GNU/Linux and *BSD platforms also.
Abnormal Program Termination can happen for multiple reasons of which
Programming Errors are one of the major reasons. Badly Carelessly
written programs often end up having such bugs.
Here’s a sample C program which has generic programming errors because of
which the compiler doesn’t catch it but the program does do unexpected
behavior.
[Read More]Bash Endless Loop
Posted on May 19, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
I always keep forgetting where the colon (;) key should be placed in a Bash
endless loop so thought of jotting it down.
while true; do ls; done
Pivot at its best
Posted on May 2, 2006
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
It really is amazing to see no more spam coming to my blog. Kudos to the Pivot
team who’ve done a great job integrating spam features into this great
software. Also the spam cleanup utility (integrated into the application) is
excellent. Thanks.