Actually in my scenario I can't use ssh, reason being is that in my scenario I do not need to login to any remote node/server. I want to send an http/xml requests by telneting to local host of my server on specific port.
In that case function that LEM has sent would not work. Here is what I am trying to achieve through a script.
Example of my scenario is mentioned in my opening post.
Hi,
Any scripting experts out there that can point me to the right direction of writing a script using telnet and su to access a server without any users interaction such as login and entering passwd. Thanks.
Thanks in advance
vastare (1 Reply)
i would like to make a shell script (red hat 9 cmd line only)
to telnet to my local isp's webmail server on port 25 and send it commands
such as helo :) help would be much appreciated, and i found no posts similar that answered my question... the closest i've gotten to an answer from about 8... (3 Replies)
I would like to log into a server read a certain file and get the results back. I have tried like below to no avail;
#!/bin/ksh -x
(
sleep 2
echo sdpuser
sleep 2
echo cs3reloaded
sleep 5
cd /export/home/scripts/daily_checks
sleep 5
head daily_check_report.txt > test160108.txt
exit
)... (6 Replies)
Hi All,
How could I use telnet to connect to Primary Host in the below shell script:
Could I use:
(
echo user
sleep 2
echo password
sleep 2
echo "ls ~"
sleep 2
echo "exit"
) | telnet hostname
... (1 Reply)
I am using a shell script to telnet into a remote unix server and execute certain commands. But if any command being executed remotely, throws an error, the script just hangs. And the telnet session does not get closed.
I want to be able to close the session and complete the script execution in... (1 Reply)
Hi friends,
I'm newbie to shell script. I wanted to create a shell script which able to write a result for all the telnet connection status. For example, from this machine I want to test the telnet connection (total 100+ servers) with this machine.
Any idea how to write this shell script?... (16 Replies)
Hi
I need to telnet a device with IP Address and port. After logging in, I need to execute some commands in that device. Please find the example below
telnet 170.10.11.1 2100 #170.10.11.1 is the IP address. 2100 is the Port
after telnet, the device will show the command prompt as : ... (2 Replies)
Using unix shell script file I need to telnet to a IP further send a command to the telnet IP and get the response to a file with out using "expect" utility and I have achieved this by below command.
(sleep 3; echo admin; sleep 3; echo mypass; sleep 5;echo "show status-list"; sleep 5; echo... (3 Replies)
I am not very much familiar with telnet based scripting so I would need your help to directly submitting sms as deliver_sm or submit_sm msg to SMSC (IP & system_id and password are already known). So, need your help to provide such script. I previously used such script but my harddisk crashed and... (1 Reply)
Discussion started by: wasay
1 Replies
LEARN ABOUT CENTOS
xml-rpc-api2cpp
XML-RPC-API2CPP(1) General Commands Manual XML-RPC-API2CPP(1)NAME
xml-rpc-api2cpp - Make a C++ wrapper class for an XML-RPC API
SYNOPSIS
xml-rpc-api2cpp server-url remote-method-prefix c++-class-name
DESCRIPTION
xml-rpc-api2cpp queries an XML-RPC server using the XML-RPC Instrospection API designed by Edd Dumbill. It then prints a C++ wrapper class
to standard output. This class can be used with xmlrpc-c's C++ API.
You can find a list of supported XML-RPC server libraries (and patches for many others) at http://xmlrpc-c.sourceforge.net/hacks.php.
OPTIONS
server-url
The name of the server to query. Try http://xmlrpc-c.sourceforge.net/cgi-bin/interop.cgi.
remote-method-prefix
The prefix of the methods to wrap. For example, to wrap all the system.* calls, you could specify "system".
c++-class-name
The name of the C++ class to generate. Try "SystemProxy".
BUGS
xml-rpc-api2cpp can't talk to certain PHP servers based on Edd Dumbill's PHP library, because the trailing bytes of the XML-RPC message get
truncated in HTTP pipelining mode. It's not clear whether this is a PHP, Apache or w3c-libwww bug.
xml-rpc-api2cpp assumes that method descriptions are ASCII text, not HTML as specified in the standard. (In practice, both conventions are
often seen.) It may also get unhappy if method descriptions contain "*/".
In general, error messages and diagnostics are still fairly poor.
SEE ALSO xmlrpc-c(7), xml-rpc-api2txt(1).
This program is part of xmlrpc-c.
AUTHOR
This manual page was written by Eric Kidd <eric.kidd@pobox.com>. It may be distributed under the same terms as the rest of xmlrpc-c.
June 27, 2001 XML-RPC-API2CPP(1)