Need help with SSH set-up

I'm setting up SSH to replace telnet for use on my LAN. I've gotten
basic functionality working but I'm struggling with ssh-agent and
ssh-add. Where should I put them? Or have invocation of them already
been planted in boot-up scripts somewhere awaiting my flipping a few
config switches?

I'm running Etch with tasksel configured desktop environment. My
style of working doesn't use GUI much, but I have _many_
gnome-terminal windows open, and I want ssh links to several computers
on my screen. From reading a few advise web sites I get the impression
that I could reduce typing of passphrase by using ssh-agent and
ssh-add, but I can't figure out how.

And then it might be that these programs actually serve an entirely
different purpose than I believe.

Advice?
--
Paul E Condon

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Need help with SSH set-up

On 3/31/07, Paul E Condon wrote:
> I'm setting up SSH to replace telnet for use on my LAN. I've gotten
> basic functionality working but I'm struggling with ssh-agent and
> ssh-add. Where should I put them? Or have invocation of them already
> been planted in boot-up scripts somewhere awaiting my flipping a few
> config switches?
>

See /etc/X11/Xsession.d/ and the use-ssh-agent configuration option in
/etc/X11/Xsession.options.

ssh-agent should already be started for you if you simply use the
default setup. Simply run ssh-add from a gnome-terminal.

> I'm running Etch with tasksel configured desktop environment. My
> style of working doesn't use GUI much, but I have _many_
> gnome-terminal windows open, and I want ssh links to several computers
> on my screen. From reading a few advise web sites I get the impression
> that I could reduce typing of passphrase by using ssh-agent and
> ssh-add, but I can't figure out how.
>
> And then it might be that these programs actually serve an entirely
> different purpose than I believe.
>
> Advice?

HTH.
--
Kushal

--

Need help with SSH set-up

On 3/31/07, Kushal Kumaran wrote:
> On 3/31/07, Paul E Condon wrote:
> > I'm setting up SSH to replace telnet for use on my LAN. I've gotten
> > basic functionality working but I'm struggling with ssh-agent and
> > ssh-add. Where should I put them? Or have invocation of them already
> > been planted in boot-up scripts somewhere awaiting my flipping a few
> > config switches?
> >
>
> See /etc/X11/Xsession.d/ and the use-ssh-agent configuration option in
> /etc/X11/Xsession.options.
>
> ssh-agent should already be started for you if you simply use the
> default setup. Simply run ssh-add from a gnome-terminal.
>
> > I'm running Etch with tasksel configured desktop environment. My
> > style of working doesn't use GUI much, but I have _many_
> > gnome-terminal windows open, and I want ssh links to several computers
> > on my screen. From reading a few advise web sites I get the impression
> > that I could reduce typing of passphrase by using ssh-agent and
> > ssh-add, but I can't figure out how.
> >
> > And then it might be that these programs actually serve an entirely
> > different purpose than I believe.
> >
> > Advice?

Maybe this can help you, If I understand well, what you want is not be
asked for the passwords?

http://linux.go2linux.org/node/16

For security reasons it is also good to disable root access from SSH,
and login using another username and switch to root as needed using su
- command.

http://linux.go2linux.org/node/42

regards.
--
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC6, CentOS4.4 and Ubuntu 6.06)
http://feeds.feedburner.com/go2linux
http://www.go2linux.org

--

Need help with SSH set-up

On Fri, Mar 30, 2007 at 11:47:06PM -0600, Paul E Condon wrote:
> I'm setting up SSH to replace telnet for use on my LAN. I've gotten

Welcome to the 20th century :-)

> basic functionality working but I'm struggling with ssh-agent and
> ssh-add. Where should I put them? Or have invocation of them already
> been planted in boot-up scripts somewhere awaiting my flipping a few
> config switches?
>
> I'm running Etch with tasksel configured desktop environment. My
> style of working doesn't use GUI much, but I have _many_
> gnome-terminal windows open, and I want ssh links to several computers
> on my screen. From reading a few advise web sites I get the impression
> that I could reduce typing of passphrase by using ssh-agent and
> ssh-add, but I can't figure out how.
>
> And then it might be that these programs actually serve an entirely
> different purpose than I believe.
>
I use the keychain package to let me handle adding my ssh keys and my
gpg keys when I log in. It will handle both from either a text console
or a GUI.

Regards,

-Roberto
--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Syndicate content