Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: execute remote perl script via ssh

by vinoth.ree (Monsignor)
on Aug 10, 2020 at 19:48 UTC ( #11120559=note: print w/replies, xml ) Need Help??

in reply to Re^2: execute remote perl script via ssh
in thread execute remote perl script via ssh

Hi Monks,

I have identified the issue for that particular user, As I already said we use public key method to auto login without asking for the password, there is the problem, his user account is being shared by another user, so his private key is not secure and ssh fails with below error

debug3: Bad permissions. Try removing permissions for user: XXXXX on f +ile C:\\Users\\XXXXXX/.ssh/id_rsa. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions for 'C:\\Users\\XXXXXX/.ssh/id_rsa' are too open. It is required that your private key files are NOT accessible by other +s. This private key will be ignored.

After removing the permission for the other user, it works fine.

All is well. I learn by answering your questions...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11120559]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-09-24 12:50 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (133 votes). Check out past polls.