07-22-2003
A possible solution is to Telnet to the server where you wish to create the script, and use VI to create it on the server it's self.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to run a script on a remote server from my ksh script. The issue I'm having is that I need to logon to the remote server as a different user. (see the following)
logged on to server 1 as adsmgr
neet to log on to server 2 as odemgr run passwd_util.ksh
Thanks in advance. (1 Reply)
Discussion started by: whited05
1 Replies
2. Solaris
Hi,
I have username/password for a remote server. I would like to have list of filenames and their size in a particular directory of remote server.
Now Problem is - I can not use rsh command as I can not modify rhost file of remote server.
Thanks in advance.
Sanjay (1 Reply)
Discussion started by: sanjay1979
1 Replies
3. Shell Programming and Scripting
Hello All
I need a script or set of commands which can establish a remote connection with another server and execute some scripts over there. Basically it has to establish the connection with the remote server as an user ,say 'testuser' and then execute the script 'testscript'. and return the... (5 Replies)
Discussion started by: sgbhat
5 Replies
4. Shell Programming and Scripting
Hi All,
I need to first of all establish a connection to remote unix server non-interactively with the help of a shell script and then connect to oracle database from that server all with this script of mine.
Please suggest the best method which could be used to connect to server for executing... (1 Reply)
Discussion started by: m_kapur83
1 Replies
5. Shell Programming and Scripting
Hi,
I'm having a problem performing for loop on remote server, i know this can be done with one liner but i'm not sure how it works if using logical operator such as for ifs and case or while
for server in sterverA serverB serverC ; do
ssh -v $server "cd ~/MyDocuments/; bag=`find... (6 Replies)
Discussion started by: sexyTrojan
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need a script (ksh) on ServerAdmin that will run an archive scripts from different several Servers through ssh. The problem is that how can i switch user when before running the archive script. I already configured password-less connection on the servers.
server 1... (1 Reply)
Discussion started by: chococrunch6
1 Replies
7. Shell Programming and Scripting
Hi All,
I need to run a ksh script on around 200 servers(consisting of AIX,LInux,HP-UX,Solaris). The script is there in the /tmp directory of all the servers. I want want to execute the script in background on the respective servers and then exit from there. I have written something like below:... (8 Replies)
Discussion started by: proactiveaditya
8 Replies
8. Shell Programming and Scripting
I have a sql script in my parent server - host1
i can do a passwordless ssh to remote server - host1a and host1b
Can i run the sql script which is present in host1 by connecting to host1a and host1b.
Should i place the sql script in host1a and host1b ? Is there a way i can run without placing... (2 Replies)
Discussion started by: Nagesh_1985
2 Replies
9. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
10. Shell Programming and Scripting
Hello Every one!!
I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server.
Before this I am using a sudo command to change the user.
The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
LEARN ABOUT HPUX
create_clearinghouse
create clearinghouse(1m) create clearinghouse(1m)
NAME
create clearinghouse - Creates a clearinghouse on the local server system or makes an existing clearinghouse available
SYNOPSIS
cdscp create clearinghouse clearinghouse-name
ARGUMENTS
The full name of the clearinghouse.
DESCRIPTION
The create clearinghouse command creates a clearinghouse on the local server system or makes an existing clearinghouse available. The
server start-up command usually creates a new clearinghouse when you configure a new CDS server. Occasionally, you may need to create a
second clearinghouse on a particular server; for example, if you are temporarily relocating a clearinghouse on a different server. See the
OSF DCE Administration Guide for more information about relocating a clearinghouse.
Clearinghouses should be named only in the root. When you enter the command, CDS creates a read-only replica of the root directory and
stores it in the new clearinghouse as the initial replica. Because the process that creates the new clearinghouse initiates a skulk of the
root directory, all replicas of the root should be reachable when you enter the command.
Privilege Required
You need write permission to the server on which you intend to create the clearinghouse and administer permission to the cell root direc-
tory. The server principal needs read, write, and administer permission to the cell root directory.
NOTES
This command is usually executed only by the network configuration procedure. To ensure that all replicas of the root are reachable, per-
form an immediate skulk of /.: prior to issuing this command.
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command creates a clearinghouse named /.:/Boston_CH on the local server system: cdscp> create clearinghouse /.:/Boston_CH
RELATED INFORMATION
Commands: clear clearinghouse(1m), delete clearinghouse(1m), list clearinghouse(1m), set cdscp preferred clearinghouse(1m), show cached
clearinghouse(1m), show cdscp preferred clearinghouse(1m), show clearinghouse(1m)
Books: OSF DCE Administration Guide
create clearinghouse(1m)