This is a discussion on Re: ssh-keyscan exits in mid-way within the OpenSSH Development forums, part of the Networking and Network Related category; On Wed, 19 Jul 2006, ponraj wrote: > I digged up this problem further and find my results below. > &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, 19 Jul 2006, ponraj wrote:
> I digged up this problem further and find my results below. > > ssh-keyscan ignores the hosts if they are not up or sshd is not > running when used with -f <file> option. But when it encounters any > error while retrieving the host key from the machine which is up and > have sshd running, it simply exits. This may happen due to transport > layer implementation in packet.c at packet_read_poll_seqnr() which > results in exiting. > > My guess is that as packet.c is utilised by all OpenSSH utilities > including ssh-keyscan, we can't make ssh-keyscan to continue with > remaining hosts as specified in -f <files> in case of an error. But I > also vote for atleast documenting this one. ssh-keyscan could probably do with a cleanup_exit() implementation that looks at nonfatal_fatal, like its fatal() implmenetation does. This would obviously need to be done carefully. By the way, when you report problems please include debug traces. Saying that "ssh-keyscan exits in mid-way" doesn't give enough information for anyone to help you. Posting a debug trace from "ssh-keyscan -vvv" would. -d _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://lists.mindrot.org/mailman/lis...enssh-unix-dev |
![]() |
| Thread Tools | |
| Display Modes | |
|
|