我有数以千计的开关,公司的旗帜在 ASCII 艺术中自豪地飘扬着,完全由#-marks 组成。
根据腐臭的常见问题解答,这是一个表演障碍:
Q. Are there any characters in the banner that rancid has problems with OR
I changed the device's command prompt and now collection is failing?
A. The trickiest part about clogin (et al) is recognizing the prompt
correctly. clogin looks for '>' and '#' to figure out if it is logged
in or in enable mode. So if you have a '>' or '#' in your login banner
(or other motd), then clogin gets confused and will not be able to log
in correctly, and thus rancid will fail.
Don't use '>' or '#', or whatever the termination character of the given
device's prompt is, in your prompt or in your banner or other motd.
显然,我无法更改所有横幅。即使我可以,我也会用clogin,soooo...
有没有人一起解决这个问题?
如果有帮助,就我而言,横幅行都以至少三个空格开头。