LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2003, 03:29 PM   #1
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
ssh-agent problem (using GDM & KDE)


I am trying to use ssh-agent for passwordless ssh to my servers over interfces with private ip's.
ive made my RSA1 and RSA keypairs and given the keys to the servers.
Then i added the following to my xinit files

eval "/usr/bin/ssh-agent -s"
/usr/bin/ssh-add</dev/null

i am using GDM as my displaymanager then it start's kde
there are several files that seem to look like .xinitrc or .xsession
type files and i'm not to sure wich to use

when i get to kde i open konsole and

$ printenv

i see no SSH_AGENT_PID=x variable
so
$ ssh-add
doesn't work since it doesn't now the pid #

I've had other problems with env variables is this a KDE or GDM
related problem?
sorry for the long winded post
thanks
 
Old 04-11-2003, 04:15 PM   #2
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Original Poster
Rep: Reputation: 30
.xsession-errors

stderr is not a tty - where are you?
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXX/agent.5179;export SSH_AUTH_SOCK;
SSH_AGENT_PID=5180; export SSH_AGENT_PID;
echo Agent pid 5180
Could not open a connection to your authentication agent.
startkde: Starting up........

i am gonna try running .xinitrc via startx from runlevel 3
instead of using GDM
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
ssh-agent FC4 and KDE linuxloon Fedora 3 02-10-2006 02:19 PM
can't find ide.agent & block.agent for hotplug for 2.6 jg167 Linux - Newbie 1 06-23-2004 05:20 PM
Hotplug problems: RH 9, 2.6.6, PCMCIA-CS 3.2.7 (missing ide.agent & block.agent) jg167 Red Hat 1 06-23-2004 05:18 PM
Starting ssh-agent with GNOME/GDM tawalker Linux - Software 4 05-12-2004 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration