troubleshooting Question

SCP command with no password prompt

Avatar of smovva1
smovva1 asked on
PerlLinuxShell Scripting
5 Comments1 Solution1000 ViewsLast Modified:
I have a perl script that has an SCP command. Its a script that needs to be run on many servers. In most of the servers, the keys are setup and it won't prompt for the password. But, there are few servers where the keys are not setup. On those servers, I don't want it to wait for the password. I want it to simply ignore the SCP and move on.
How can I force it to "timeout" and not prompt for the password.

Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros