Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ddanj
  • Content: Threads
  • Order by date
  1. ddanj

    array attributes

    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...
  2. ddanj

    transfering files using scp

    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...
  3. ddanj

    transfering files using Perl

    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...
  4. ddanj

    ssh redirection

    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...
  5. ddanj

    system function question

    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...

Part and Inventory Search

Back
Top