Thanks Mbrooks for your post. Here's the answers to your questions:
Script is being ran as root.
Permission on id_rsa was 640, changed it to 600
The script work but hangs for a couple of minutes before authenticating. Should I be using something else? Do I need to reference a different module...
Forgot to add the part of the logs after it executes:
Login completed, opening dummy shell channel.
channel 0: new [client-session]
Requesting channel_open for channel 0.
channel 0: open confirm rwindow 0 rmax 32768
Got channel open confirmation, requesting shell.
Requesting service shell on...
Hi Everyone,
I've been trying to figure out why my script hangs for 3-4 minutes prior to executing the command remotely. I know it's related to key authentication since I do not have these issues when using a username\password. I've searched for 2 days and still can't find my solution.
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.