Search Results

Search: Posts Made By: jsw371
8,828
Posted By jsw371
You have really opened my eyes broli. I was...
You have really opened my eyes broli.

I was hoping that the scripts in the /etc/rc*.d files would bring down services,applications, etc...

I am so screwed because I have no clue what is...
8,828
Posted By jsw371
Thanks for the help. for host in `cat...
Thanks for the help.

for host in `cat hostlist`; do ssh $host shutdown <arguments>;done

will work for me.
8,828
Posted By jsw371
Here in lies the problem. Our network security...
Here in lies the problem. Our network security officer will not allow ssh as root. Also, we have many "flavors" of unix/linux which have different shutdown options. I tried something like this...
8,828
Posted By jsw371
emergency shutdown best practices.
Has anyone implemented or have suggestions on how to shutdown many remote unix/linux servers from a single script initiated from 1 server?

I need this to execute in parallel as time is not...
2,606
Posted By jsw371
If I change my shell script from: $ cat...
If I change my shell script from:
$ cat ssh_test.ksh
#!/bin/ksh
ssh -v -v -v remote_server << EOT
date
EOT
if [ $? -ne 0 ]
then
echo failed
exit 1
fi
exit 0


to:

$ cat...
2,606
Posted By jsw371
Thanks for the insight Era, I ran the same...
Thanks for the insight Era,

I ran the same script to another remote server that has the same OS and SSH version as the remote server I can not connect to. The script works.

$ ksh -x...
5,157
Posted By jsw371
I found this link to be very descriptive. ...
I found this link to be very descriptive.

Unix Find Tutorial (http://www.softpanorama.org/Tools/Find/find_mini_tutorial.shtml)
2,606
Posted By jsw371
unabel to ssh from script.
I can execute a ssh command from the command line.
ssh remote_server date
Tue Oct 7 15:39:37 EDT 2008

I have set this up to use key authentication.

I am trying to run the same command in...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy