I was trying for a password less login since yesterday. Some how, it didn't workout for me. Finally, it is working now.
Commands to follow to have a password less login from your system to remote host:
At your host:
1.ssh-keygen -t dsa
give empty for all options it asks (just enter enter)
and make sure that your ssh folder is read and writable by only you. chmod -R 700 .ssh
2.now, copy id_dsa.pub file from your machine to remote host.
3.ssh to remote host
check whether .ssh file is existing. If not create one and should have only read and write option.
and copy id_dsa.pub file contents to .ssh/authorized_keys file.
and chmod 600 .ssh/authorized_keys
4. exit from remote host
now, try to ssh to remote host. It should login without asking for any password.
If it is not working,
then edit /etc/ssh/sshd_config file. make sure you uncomment Protocol2,1 options and comment Protocol2 option as shown below:
Protocol 2,1
#Protocol 2
and also make sure the following lines are present:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
If present, uncomment them.
And restart your ssh daemon in your machine.
It should work now.
Thursday, July 19, 2007
Aah..Yet Finally : Password less login for SSH
Thursday, July 12, 2007
The Best Match that I have ever seen
Recently, every one at home (including my mom) addicted to watching Tennis sports (Thanks to my brother who constantly watch this and made others to get addicted to it). We watched French open and also Wimbledon. I was fan of Federer though I didn't watch much of his matches but thru what ever I read in news. During French Open, I came across Raftal Nadal and found him as a good competitor. But, I didn't find the final of French open that interesting compared to Wimbledon. May be for couple of reasons.
Wimbledon final was the best match. Here, I was expecting Nadal to compete with Federer in the final and then Federer should win as Nadal had already won in French open. But, the final wasn't that easy as the way I was expecting. After the match, I impressed so much at the way Nadal is playing, that I became fan of him too. I felt happy that Federer won but at the same time, I felt bad that Nadal lost. He was covering his court pretty well. At one point, he fell down while hitting the ball but he quickly stood and ran to the other end in seconds. It is simply amazing to watch.
Thursday, July 05, 2007
vote for Tajmahal- Is it authentic?
These days, I am getting many forwarded mails, saying "Vote for taj" thru this site(http://www.new7wonders.com , http://votefortaj.com/ etc) or SMS to this number to include our TajMahal in new seven wonders. Some how, I didn't wish to do. I don't know the exact reason but I am not interested to do. May be, I was thinking that it is not authentic. May be, the way they are saying (Here is the chance you can do something for your dear nation) didn't give any impression that it is authentic. One feeling I had is, there are many other issues on which we can fight (poverty, casteism). But, I had a small doubt some where, whether I am lazy to do so that I am giving all these reasons for not voting. But, seems, I am not. Here is one link that I got which says that it is all marketing strategy that these people came up with.