It looks like host based authentication will not work if you attempt to set EnableSSHKeysign on a per host basis. Ie. This does not work. ------- Host ou8 HostName ou8.somedomain.com HostbasedAuthentication yes EnableSSHKeysign yes NoHostAuthenticationForLocalhost yes ------- Unless you also add ----- Host * EnableSSHKeysign yes ----- Is this the intended behavior? -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
ssh-keysign don't know host => only ... Host * EnableSSHKeysign yes ... in "host_config_file (.../ssh_config)" is valid. Tim Rice wrote:>It looks like host based authentication will not work if you >attempt to set EnableSSHKeysign on a per host basis. > >Ie. This does not work. >------- >Host ou8 > HostName ou8.somedomain.com > HostbasedAuthentication yes > EnableSSHKeysign yes > NoHostAuthenticationForLocalhost yes >------- > >Unless you also add >----- >Host * > EnableSSHKeysign yes >----- > >Is this the intended behavior? >Yes.> > >
yes, it's intentional. ssh-keysign does not know the target host. EnableSSHKeysign is intended to protect the private host key. perhaps this should be better documented... On Mon, Oct 06, 2003 at 09:59:26PM -0700, Tim Rice wrote:> > It looks like host based authentication will not work if you > attempt to set EnableSSHKeysign on a per host basis. > > Ie. This does not work. > ------- > Host ou8 > HostName ou8.somedomain.com > HostbasedAuthentication yes > EnableSSHKeysign yes > NoHostAuthenticationForLocalhost yes > ------- > > Unless you also add > ----- > Host * > EnableSSHKeysign yes > ----- > > Is this the intended behavior? > > -- > Tim Rice Multitalents (707) 887-1469 > tim at multitalents.net > > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
Seemingly Similar Threads
- OpenSSH_6.7p1 hostbased authentication failing on linux->linux connection. what's wrong with my config?
- OpenSSH_6.7p1 hostbased authentication failing on linux->linux connection. what's wrong with my config?
- Bug? between OpenSSH 6.4p1 and 6.5p1(also 6.6p1)
- [Bug 786] ssh is still looking at default config file when it is about EnableSSHKeysign
- broken ssh-keysign for openssh 3.6.1p1 on Solaris 8