Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-20-2003, 08:19 PM   #1
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Rep: Reputation: 15
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:
ssh-agent $SHELL
ssh-keygen -t rsa
But it didn't work. What did I do wrong?

Old 09-21-2003, 03:09 PM   #2
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Original Poster
Rep: Reputation: 15
Please help...
One more piece of information, I'm using tkcvs.
Old 11-19-2008, 02:50 AM   #3
LQ Newbie
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Smile for using ssh-keygen

ssh-keygen -t rsa

It will generate private and public key

# ssh-keygen
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/
The key fingerprint is:
d2:14:16:28:87:71:7f:9e:7a:8b:02:a6:35:cf:bf:ce root@<machine>

ftp this file "//.ssh/" i.e., 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i create a ssh-keygen for user?? yenonn Linux - General 1 06-14-2005 10:37 PM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 02:40 PM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
ssh-keygen problem mijohnst Linux - Networking 5 07-20-2004 01:00 PM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 05:51 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration