Do you know where your variables are? | |
PerlMonks |
Strange SSH Behavior via system or execby cmv (Chaplain) |
on Sep 18, 2014 at 14:57 UTC ( [id://1101061]=perlquestion: print w/replies, xml ) | Need Help?? |
cmv has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks-
I can't explain this and need guidance from wiser minds - please help. Here’s how to reproduce: 1.) Setup ssh public/private keys so that this unix shell command works without you having to enter a password: $ ssh usr@remotehost date 2.) Run these command from your unix shell prompt - why does one FAIL (ask for password), while others don’t?
You can replace system with exec and get the same result. Thanks -Craig
Back to
Seekers of Perl Wisdom
|
|