connecting to non-responding hosts: 1 hr timeout (fwd)

Dave Dykstra dwd at bell-labs.com
Thu May 3 06:16:18 EST 2001


On Wed, May 02, 2001 at 02:49:58PM -0500, mouring at etoh.eviladmin.org wrote:
> 
> 
> [..]
> > The reason I needed it in ssh was that I wanted to use ssh to initialize
> > /etc/ssh_known_hosts from the list of hosts in /etc/hosts.equiv but there
> > were a lot of dead hosts in there and it was taking forever to go through
> > the whole list.
> >
> 
> Correct me if I'm wrong.. but you should be using ssh-keyscan for such a
> task.

Actually I was still using ssh 1.2.27 (since I haven't completed my
conversion to OpenSSH) and hadn't yet discovered ssh-keyscan.  Thanks for
pointing it out to me, it looks great.

I was trying to use that as a justification for putting non-blocking
connects with a short timeout into OpenSSH's ssh command, and ssh-keyscan
makes that justification invalid, but I still think it makes sense for the
ssh command to do it.

- Dave Dykstra



More information about the openssh-unix-dev mailing list