Question on ussing ssh-add outside of Xwindows? Is it possible?

Alex Maynard maynarda-dxuVLtCph9gsA/PxXw9srA at public.gmane.org
Fri Feb 8 14:55:25 UTC 2008


On Thu, 7 Feb 2008, Anthony de Boer wrote:

> Alex Maynard wrote:
>> I'm just wondering if you know whether there is anything simple I could do
>> to fix this or whether I really need to be in X when running ssh-add?
>
> X itself has nothing to do with it, but look at the ssh-agent manpage.
> You have to have an agent running, preferably as parent of the shell

Anthony, Thanks very much. According to the man page it ssh-agent should
automatically start on both X and non-X logins.  Maybe I need to 
reconfigure my non-X login.  Alex


> you're using, or you have to copy a bunch of environment variables
> around.  Ssh-add registers keys with the ssh-agent, and then the ssh or
> scp commands talk to the agent process to get credentials when you want
> to access a remote host.
>
> -- 
> Anthony de Boer
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list