01-04-2013 08:26 AM
Trying to use Netconfig to create a job to transfer a file from a server to the router via SCP. It fails at Password entry as follows. Any ideas??
Source username [me]?
Destination filename [file1]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]
Translating "Servername"...domain server (111.111.111.111) [OK]
Password:
% Password: timeout expired!
% Authentication failed.
01-05-2013 10:35 AM
Try to increase the job timeout for telnet and other parameters and re-run the job.
01-07-2013 04:53 AM
I changed the timeout values under Admin> Collection Settings> Config> Config Job Timeout Settings and Admin> Collection Settings> Inventory> Inventory/Config Timeout and Retry Settings>Telnet Timeout with no success. Still getting the same password timeout error.
Experimented some more at the command line and found the following behavior that I cannot get NetConfig to account for. At the prompt to confirm the file overwrite, if I type a "y", it does not wait for a carriage return and immediately displays the password prompt. If I just type a carriage return to confirm the overwrite, there is a slight delay and then the password prompt appears.
I'm thinking this behavior is causing the failures since in the case of confirming with a "y" response, NetConfig is adding a carriage return which is being seen as the password. In the case of just giving a default response with a carriage return, NetConfig is maybe sending the password too quickly before the password prompt is received.
Just cannot find a way to get this to work.
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