ssh-agent, ssh-add and ssh-keygen AND CVS
My school is using CVS for submitting assignments this year. I searched on the web to find some good gui for CVS, and tkcvs seems pretty good (I like the function of showing the tree of versions). However, my school's CVS is using ssh for authentication, not pserver. Whenever I change directory, I have to input my password again in the terminal and the cpu usage shoots up to 100%.
The question is how I make use of the ssh-agent, ssh-keygen and ssh-add to save me from the hazzle. I don't want to enter password whenever I request data from the server. I just want to enter password once for one session.
Here is what I have tried after reading the man page:
One more piece of information, I'm using tkcvs.
for using ssh-keygen
ssh-keygen -t rsa
It will generate private and public key
Generating public/private rsa key pair.
Enter file in which to save the key (//.ssh/id_rsa):
Your identification has been saved in //.ssh/id_rsa.
Your public key has been saved in //.ssh/id_rsa.pub.
The key fingerprint is:
ftp this file "//.ssh/id_rsa.pub" i.e., id_rsa.pub file to the server at the same location of server and rename it to "authorized_key"
try to login ,it will work(if it doesn't, then check the owner of authorised_key file is the same who generated it.
You are using public key authentication to login the server.
|All times are GMT -5. The time now is 12:24 AM.|