so i'm trying to use array_name'left, array_name'right in this manner:
array_name'left xor array_name'right
but the compiler is telling me that xor can't accept the return type of the array attributes, which seems to be 'std.standard.integer', though the type of array i am using is just...
So I'm trying to write a Perl script to transfer authorized_keys to all the computers on the network from a master computer, but I am having trouble. I'm trying to use scp to copy the whole directory like so:
scp -r ./keys/ $some_machine:/root/.ssh
objective: What I want to accomplish is to...
So I'm trying to write a Perl script to transfer authorized_keys to all the computers on the network from a master computer, but I am having trouble. I'm trying to use scp to copy the whole directory like so:
scp -r ./keys/ $some_machine:/root/.ssh
the thing is, the first time I run this...
So i'm trying to automate input for SSH. I know I could do it with expect, or by havint authrized_key on all the machines, but I want to do it in another way if possible.
I'm trying to basicly do this:
ssh root\@$machine > file
but i'm getting this error:
'Pseudo-terminal will not be...
I'm trying to write a perl script that ssh's into a bunch of machines from a list, and runs a useradd. I'm having trouble with it.
It seems to be adding the users just fine to the machines in the list, but it keeps printing out 'ssh: root: Name or service not known'.
Also it does useradd on...
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.