9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to write a bash shell script which will connect to remote server using passphrase. (I have public-private infrastructure created, and as per instruction, I must not use password less ssh).
This particular script will be fired from cron.
Can you please advice how I can supply the... (2 Replies)
Discussion started by: atanubanerji
2 Replies
2. Solaris
Hi folks,
I encountered this alarms on a solaris server:
04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 0 is faulty
04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 1 is faulty
04/21/12 23:18:26 MNP-PGW-A_bge3 mnp 231822 Power Supply Unit 0 is faulty:CLEAR... (0 Replies)
Discussion started by: kimurayuki
0 Replies
3. Shell Programming and Scripting
Hi,
I have something like below code piece in ksh
while read machine
do
ssh $user@$machine < steps.ksh $RPI
done < $machine
here, after it gets logged in to server it is not considering the $PRI as argument for steps.ksh script
please suggest the fix. (1 Reply)
Discussion started by: rbalaj16
1 Replies
4. AIX
Hi,
As in Management Modules of IBM it is possible to find out wheather out of dual powersupply , if one goes down.
is it possible to find out in HMC to find out if one power supply goes down of P Series server? if server is remotely
HOw to find out if one power supply of server is down?... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to supply password to scp with out having manual interaction. Like, store the password in a variable and it should be supplied to the scp when it prompted for the password. Is there any other way than the user authentication and using "expect" in perl script. i.e is this... (3 Replies)
Discussion started by: pc_raghu
3 Replies
6. UNIX for Advanced & Expert Users
for i in $var; do
for j in $var; do
if
then
ssh -x -a "$host_login_name"@${i} ping -c 3 -s 3 ${j}
if
then
printf "Success\n"
else
printf "Failed\n"
fi
fi
done
done
Enter your box login... (2 Replies)
Discussion started by: happyrain
2 Replies
7. Red Hat
Hello guys:
I'm a beginner in this exciting world of open spource and linux. I'm working as a support engineer and a customer send back to me a sysreport from his system running redhat 4. the customer has a power supply failed in his server and to see it and justify the replacement I required a... (0 Replies)
Discussion started by: amani
0 Replies
8. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
9. Shell Programming and Scripting
I have a java program that runs on a unix server that prompts the user for input and provides a default value to the user.
So it does something like this:
Enter source server name <source_server_name>:
Enter target server name <target_server_name>:
I just hit enter to take the default... (1 Reply)
Discussion started by: progkcp
1 Replies