How create multiples ssh on same host without asking same password

Eric LeBlanc inouk at igt.net
Fri Jul 2 06:42:48 EST 2004


On Thu, 1 Jul 2004, Markus Friedl wrote:

> > For example, it's not pratical (if I understand well) to set the
> > ControlPath and ControlMaster directly on ssh_config.  The problem is when
> > I setup like this:
> >
> > ControlMaster=yes
> > ControlPath=/wathever/you/want
> >
> > Every time I start SSH, it's alway considered as master, so ssh will ask
> > the password.  They 'better' way is:
> >
> > ssh -M -S /path/to/control/file username at host.domain
> >
> > and for next sessions using the same channel:
> >
> > ssh -S /path/to/control/file username at host.domain
>
> no, it's better to do it this way
>
> 	Host foo
> 		ControlMaster yes
> 		ControlPath /wathever/you/want
> 	Host bar
> 		ControlPath /wathever/you/want
>
> so after
> 	ssh foo
> you can use
> 	ssh bar
> to connect to foo via the first connection.
>

It's clear now,

Thank you for your patience!

E.
--
Eric LeBlanc
inouk at igt.net
--------------------------------------------------
UNIX is user friendly.
It's just selective about who its friends are.
==================================================




More information about the openssh-unix-dev mailing list