09-20-2005
telnet to server from unix
i need to automate a process in which i telnet to a server, execute some PGP commands and return. i need to do this from a script on our Unix server. All attempts have failed. i get the expected message defining the escape character, but no attempt to login is made.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day,
We have recently purchased an HP Compaq t5000 thin client and installed this as a management console. It runs Windows CE 5.0 as we required Internet Explorer for the managemenet of the one server (Web based management only working in Internet Explorer).
We have now also installed... (4 Replies)
Discussion started by: avd
4 Replies
2. UNIX for Advanced & Expert Users
I use server Unix with AIX 5.2.
I can't telnet to server about 5 mn, then i can access to server via telnet.
This problem have again and again. Sometime can, sometime can't.
I dont know why?
Do you have any idea? (4 Replies)
Discussion started by: SENG
4 Replies
3. UNIX for Dummies Questions & Answers
Hi every1
well i am new to unix scripting but i have been seeking help from this forum
the question
i want to write a script to telnet to a remote server
and put the username and pwd in the script
the problem is that i want to run some commands on the remote server and get the results in a... (2 Replies)
Discussion started by: hassanabbas
2 Replies
4. Shell Programming and Scripting
hi all,
i wanted to write a ksh script to telnet to another server on a particular port every 5 mins in order to send out an alert if that server went down.
how do i read the response that comes back when the server is down i.e "telnet: Unable to connect to remote host: Connection refused" ... (5 Replies)
Discussion started by: cesarNZ
5 Replies
5. Shell Programming and Scripting
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
I have to write a script, which is ran... (0 Replies)
Discussion started by: atul9806
0 Replies
6. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (0 Replies)
Discussion started by: atul9806
0 Replies
7. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (8 Replies)
Discussion started by: atul9806
8 Replies
8. UNIX for Dummies Questions & Answers
I need a list of servers, that, I can try out my test program with, such as a timeserver.
For example, I would need to connect to telnet server|port. (1 Reply)
Discussion started by: jon80
1 Replies
9. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
10. SCO
Out of the blue for some odd reason I am no longer able to telnet to one of my SCO Unix servers. I can ping, ftp and do a traceroute to it, just cant telnet. When I attempt to telnet to it, I just get this
Trying ##.##.##.##....
telnet: Unable to connect to remote host: Connection timed out
... (0 Replies)
Discussion started by: macastor
0 Replies
LEARN ABOUT DEBIAN
rxtelnet
RXTELNET(1) BSD General Commands Manual RXTELNET(1)
NAME
rxtelnet -- start a telnet and forward X-connections.
SYNOPSIS
rxtelnet [-l username] [-k] [-t telnet_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b telnet_program] [-n] [-v] host [port]
DESCRIPTION
The rxtelnet program starts an xterm window with a telnet to host host. From this window you will also be able to run X clients that will be
able to connect securely to your X server. If port is given, that port will be used instead of the default.
If setting up the X forwarding failes, rxtelnet will still telnet in to the remote host, but without X forwarding.
The supported options are:
-l Log in on the remote host as user username.
-k Disables keep-alives.
-t Send telnet_args as arguments to telnet.
-x Send xterm_args as arguments to xterm.
-X Send kx_args as arguments to kx.
-w Use term_emulator instead of xterm.
-b Use telnet_program instead of telnet.
-n Do not start any terminal emulator.
-v Be verbose.
EXAMPLE
To login from host foo (where your display is) to host bar, you might do the following.
1. On foo: rxtelnet bar
2. You will get a new window with a telnet to bar. In this window you will be able to start X clients.
SEE ALSO
kx(1), rxterm(1), telnet(1), tenletxr(1), kxd(8)
KTH_KRB March 7, 2004 KTH_KRB