04-17-2009 06:50 AM
Hi,
Does someone knows how to configure the ssh client in LMS2.6 so that the Host key is not checked. (something like ssh -o StrictHostKeyChecking no).
Since we configured ssh on the network devices it seems that during the ssh session lms has to answer on Regenerate Key questions with yes/no. But how can I disable this interactive question?
Regards
Jan
04-17-2009 09:18 AM
LMS doesn't care about host keys. What exactly are you doing that you would need to answer such a question? Is this a Netconfig job?
04-19-2009 11:38 AM
Indeed,
The netconfig job fails since the ssh was configured on the devices.
How can LMS avoid host keys ?
Jan
04-19-2009 11:43 AM
What exactly is the error message you're seeing when the job fails? Exactly what commands are you deploying to the device?
04-19-2009 11:27 PM
We don't get an error message.
The process goes in timeout.
We use a sniffer to verify this.
So:
If we do this manually on the server (i.e. we use ssh to the device via cli) => it works. (the host key regeneration can be avoided by using the StrictHostKeySetting flag no )
If we use NetConfig it fails after 3 tries (timeouts). on most of the devices (300 succeeds, 500 fails)
Someone read that LMS should keep the host keys in some repository ?
Jan
04-19-2009 11:41 PM
No, LMS doesn't do anything with host keys. SSH keys are not your problem. Since you are using SSH, the sniffer will be of little use. What will be helpful is to enable ConfigJob debugging under RME > Admin > System Preferences > Application Loglevel Settings, run the job, then post the contents of the job directory under NMSROOT\files\rme\jobs\NetConfigJob on Windows and /var/adm/CSCOpx/files/rme/jobs/NetConfigJob on Solaris.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide