LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-20-2003, 09:19 PM   #1
raylpc
Member
 
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:
Code:
ssh-agent $SHELL
Code:
ssh-keygen -t rsa
Code:
ssh-add
But it didn't work. What did I do wrong?

Thanks
 
Old 09-21-2003, 04:09 PM   #2
raylpc
Member
 
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, 03:50 AM   #3
speedstar
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/id_rsa.pub.
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/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.
 
  


Reply


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 11:37 PM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 03:40 PM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 04:09 AM
ssh-keygen problem mijohnst Linux - Networking 5 07-20-2004 02:00 PM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 06:51 PM


All times are GMT -5. The time now is 11:31 PM.

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