![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rsh to change multiple ip in multiple servers? | kenshinhimura | Shell Programming and Scripting | 2 | 02-18-2008 03:04 AM |
| How do I make multiple connections to the server in this case | frequency8 | Shell Programming and Scripting | 0 | 07-21-2007 11:05 PM |
| User add on multiple servers | sandeep_pan | Shell Programming and Scripting | 6 | 06-10-2005 05:04 PM |
| Apache Config> One IP, Multiple Servers | l008com | UNIX for Advanced & Expert Users | 7 | 09-15-2003 09:54 AM |
| ftp to multiple servers | kristy | Shell Programming and Scripting | 2 | 12-03-2001 03:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Plink connections to multiple unix servers
Hi,
I have a simple windows batch file which connects to a UNIX server and runs a shell script in my home directory on the server. It works perfectly, using plink + ssh keys in the background. What I plan to do is expand this batch file to connect to multiple servers and execute one script on each server. Has anyone any opinions or feedback on this plan? |
|
||||
|
I am looking at doing the same thing...
I made a simple BAT file that send a file with PSCP and a command with PLINK, it works fine but it hangs after PLINK... What i would like to do is: PSCP --- dreambox1 PLINK --- dreambox1 PSCP --- dreambox2 PLINK --- dreambox2 PSCP --- dreambox3 PLINK --- dreambox3 Thankx |
|
||||
|
I got it working it was a timeout problem...
to get trough this problem i PSCP a SH script along with my file with the timeout cmd then used plink to start the SH script. PSCP --- dreambox1--- file PSCP --- dreambox1--- SH PLINK --- dreambox1--- start SH PSCP --- dreambox2--- file PSCP --- dreambox2--- SH PLINK --- dreambox2--- start SH PSCP --- dreambox3--- file PSCP --- dreambox3--- SH PLINK --- dreambox3--- start SH Last edited by patx; 08-28-2008 at 09:49 PM.. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|