Sponsored Content
Full Discussion: Remote command execution
Top Forums Shell Programming and Scripting Remote command execution Post 302297143 by uunniixx on Thursday 12th of March 2009 03:07:18 PM
Old 03-12-2009
Remote command execution

We have multiple Unix servers and a particular command can only be executed in one of the box from a specific path. I have password-less ssh set up for all the boxes. I am unsure the command to use to execute that particular command from any other box. To be specific say program named _my_exe_ can be executed fin Box A from a specific path. Now I am into Box B? What is the command I can use to start the _my_exe_ without leaving box B.

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

remote execution

Hi everybody, sorry if the question will be too trivial for some of you, but I'm not a unix shell programmer expert. I need to write a script that allows me to rlogin to another machine, check the load (cpu and mem usage) of the new machine, start a process (that will run in the background) and... (5 Replies)
Discussion started by: ragmelo
5 Replies

2. AIX

remote execution

good morning I would like copy and execute a shell script on a remote server telnet is not autorize, so i use ssh: scp to copy and ssh to execute But with the scp, the permissions are not saved and the file 's permission on the remote server is r--r--r-- , so i can't execute it Can you help... (2 Replies)
Discussion started by: pascalbout
2 Replies

3. Shell Programming and Scripting

remote execution of find -exec

Hi folks I am working on a script which lists files of a specific pattern on a remote m/c and tar&zip them to another remote m/c via a centralized server. M/C details: remote1 - OSF1 vayu V5.1 2650 alpha remote2 - cygwin based windows server central - SunOS phys-chenab 5.8... (2 Replies)
Discussion started by: royalbull
2 Replies

4. Shell Programming and Scripting

help with remote execution of a script

does anyone know how can i execute a script which i locally run as " . /etc/local/host/src.srvr -D ." need to execute above command in rexec command. if i put the command as it is it does not run. Sorry but i am naive in scripting. Thanks rexec sgplqim -l vau -n ' ' (0 Replies)
Discussion started by: NK4U
0 Replies

5. UNIX for Dummies Questions & Answers

Remote file execution

Hello, I'm new to scripting so, sorry if this is a dumb question. What's the best way to execute a .sh file remotely? I want to log into server "b" from server "a" & run a script. "./scriptname.sh". At this point, all I'm looking to do is a simple ls -la > output.txt within the script to capture... (3 Replies)
Discussion started by: crunch10c
3 Replies

6. Red Hat

Remote execution of QTP from LInux

Hi, We have maven build setup on linux machine and QTP on windows machine. Now, we want to launch QTP from the maven build process which would execute a series of test scripts and return the outcome to the maven process. Based on the result, the maven would have to pass or fail. I tried... (0 Replies)
Discussion started by: Jeevaraj2
0 Replies

7. Shell Programming and Scripting

Remote access and command execution on unix platform

How can we create new directory/Or execute command on remote unix machine from another unix machine. We can use SSH command to execute command on remote machine but problem is that ssh will prompt for password before executing command. My requirment is to execute command without manual... (1 Reply)
Discussion started by: pasricha.kunal
1 Replies

8. Cybersecurity

Log remote execution over SSH

If a user execute commands remotely over ssh : $ ssh USERNAME@SERVER COMMANDSHow the SERVER administrator can log those COMMANDS executed in a "not a tty" session ? I searched for my question and get the following suggestions:Anybody give help how to do this ? what the content of "/bin/bash "... (1 Reply)
Discussion started by: new0h
1 Replies

9. Shell Programming and Scripting

Pause processes in remote host and resume execution in another remote host

Hi, Given addresses of 2 remote machines, using a shell script is it possible to get the state of running processes in "src" stop all the processes in "src" exit out of "src" ssh into "dest" resume the state of executing processes captured in step 1 in "dest" Assumption: "src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies

10. UNIX for Dummies Questions & Answers

Execution of local commands for remote site.

Hi all, I have a problem with ftp execution within unix environment. I'd like to get files on remote and delete them later, but here is too crowd so I can accidentally delete some files. Can I delete only the files I can get to the local folder? I can ask this question with a different... (14 Replies)
Discussion started by: attillam
14 Replies
RAIDFILE.CONF(5)						    Box Backup							  RAIDFILE.CONF(5)

NAME
raidfile.conf - Userland RAID for Box Backup SYNOPSIS
/etc/box/raidfile.conf DESCRIPTION
The raidfile.conf is usually generated by raidfile-config(8) but may be manually edited if the store locations move or if more than one disc set is required. discX Specifies a set of discs. SetNumber The set number of the RAID disc, referenced by each account. BlockSize The block size of the file system (usually 2048). Under BSD with FFS, set this to your file system's fragment size (most likely an 8th of the block size). Dir0 The first directory in the RAID array. Dir1 The second directory in the RAID array. If you do not wish to use the built-in RAID functionality, this field should be set to the same as Dir0. You should not use the built-in RAID if you have a hardware RAID solution or if you're using another type of software RAID (like md on Linux). Dir2 The third directory in the RAID array. The same notes that apply to Dir2 also apply to Dir3. FILES
/etc/box/raidfile.conf SEE ALSO
raidfile-config(8), bbstored.conf(5) AUTHORS
Ben Summers Per Thomsen James O'Gorman Box Backup 0.11 10/28/2011 RAIDFILE.CONF(5)
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy