This is a discussion on script hangs when a remote server is down within the Shell scripting forums, part of the Development/Scripting category; Hi all, I have made a script which logins to remote servers and fetches some data from it. Is is ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi all,
I have made a script which logins to remote servers and fetches some data from it. Is is working perfectly when all servers are reachable BUT my problem is -- if in case a server is down (or not reachable), the script hangs. Is there some way, that the script just continues to ssh another server when a particular server is not responding say for 30 sec. I am using ssh to login into servers and have used ssh-keygen command to bypass passwords. Pls help, just finalizing the script. Thanks in adv. Regards, Vikas |
| Sponsored Links | ||
|
|
|
|||
|
Hi all,
Thanks for your co-operation. I was looking something like this :-- Quote:
Regards, Vikas |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remote access to linux server | RamPD | Linux software | 9 | 05-26-2008 08:21 AM |
| Fail to mount remote NFS server | satimis | Web servers | 0 | 04-19-2008 09:06 PM |
| Shell script to perform operation on remote server | vivekv | Shell scripting | 3 | 10-24-2007 01:10 AM |
| How to recover if server crash in remote? | kitty@sad | Solaris/OpenSolaris | 1 | 02-27-2007 10:02 PM |
| remote server monitoring for Solaris | pliu0606 | Solaris/OpenSolaris | 4 | 10-15-2005 03:49 PM |