Logging to server to get etc/passwd file of all 300 server

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Logging to server to get etc/passwd file of all 300 server

i am new to scripting ,i need bash script in jump server to pull the /etc/passwd of all servers and the ssh keys are installed
# 2  
Welcome to the forum.
It always pays off to put in some decent carefulness when specifying a problem, supplying the descriptions of your own attempts plus where you are stuck, and needed info like OS and shell versions, input and output samples, logics and/or algorithms connecting them.
# 4  
Welcome profiles,

We have a few to questions pose in response first. Perhaps a more structure layout will address most of our immediate needs so we can better help you:-
  • What have you tried so far?
  • What output/errors do you get?
  • What OS and version are you using? Are they all AIX?
  • Is is just /etc/passwd you want?
  • Are you already able to connected using password-less SSH keys?
  • What logical process have you considered? (to help steer us to follow what you are trying to achieve)
Most importantly, What have you tried so far?

There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.


We're all here to learn and getting the relevant information will help us all.



Kind regards,
Robin
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Syslog not logging successful logging while unlocking server's console
walterthered
When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure... Linux
1
Linux
Transfer file from server B to server C and running the script on server A
kiran_j
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A. Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server). We dont have RSA key...... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers
Deleted /etc/passwd file while accessing to our test server via putty
rahul547
Hi I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file..... It is allowing me to login..... So could anyone please help me out in this issue.... Please, it is urgent... UNIX for Dummies Questions & Answers
6
UNIX for Dummies Questions & Answers
logging into another server through script
raghu.iv85
Hello everybody, I have one small issue... :( When i'm trying to connect another unix box through below script.. #!/usr/bin/bash ssh $1 <<EOF Commands . . exit EOF But getting some syntax error "-sh: syntax error at line 2: `end of file' unexpected". I used to use...... Shell Programming and Scripting
2
Shell Programming and Scripting
can client connect() when server in sleep(300); after listen(fd,5);
chenhao_no1
0 .with regards to you 1 .Thank you for reading letter 2 .a Server call sleep(20) after listern(fd,5) . When the Server is in asleep,a Client connect() to it successful and send a lot of appointed data . 3 .Why ? I think that the server is in sleep (beasue I call sleep()) , it donot block at...... Programming
3
Programming