10 More Discussions You Might Find Interesting
1. IP Networking
Hey everyone. Something has been bothering me. The telnet program, while I know is insecure, offers a ton of functionality. I can literally test any port's availability. I can send commands to web servers, and email servers, and it's a great toubleshooting tool. can any of this be done with SSH?... (6 Replies)
Discussion started by: Lost in Cyberia
6 Replies
2. Shell Programming and Scripting
Hi,
Need some help on exiting the telnet session from the script.
#!/bin/ksh
telnet <ip>
it would print some text and
it would ask for a username and pwd.
I jus need to capture the text and i need to come out of the telnet session.
is it possible without expect ? (6 Replies)
Discussion started by: giri_luck
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
5. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
6. SCO
Hello.
How can I limit the number of telnet connections in order that from the same IP address it can support at the maximun two simultaneus meetings on SCO Openserver 5.0.7 ?
Thanks. (2 Replies)
Discussion started by: jag
2 Replies
7. AIX
I have some AIX 4.3 machines which have disabled root telnet access.
When you run su - once logged on the machine requests a password and if one is supplied correctly it asks for another users password.
How do I configure this?
Any help is appreciated.
Thank you (0 Replies)
Discussion started by: uXion
0 Replies
8. Programming
hello sir and all my friends
i have a serious problems in creating a telnet protocol with c-program in unix. if any one have this program then please reply me on this mail address.
email address removed (4 Replies)
Discussion started by: abhijit deka
4 Replies
9. Shell Programming and Scripting
Now my task is
there are two servers A and B.
i only can put unix script in server A and database is on server B.
can I write a script in serer A which could telnet to server B and run the script which include sql script and save the output file in server A.
did I make my problem clear? (2 Replies)
Discussion started by: YoYo
2 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I have written a script called findwho.sh
findwho.sh in Development Server
========
who -M>x
I want to copy the file findwho.sh
into Production Server and
run this script on it then output file x copy
back to the Development Server
1) Every time ftp findwho.sh to... (4 Replies)
Discussion started by: krishna
4 Replies
cconsole(1M) System Administration Commands cconsole(1M)
NAME
cconsole , crlogin, cssh, ctelnet - multi window, multi machine, remote console, login, ssh, and telnet commands
SYNOPSIS
$CLUSTER_HOME/bin/cconsole [-s] [ -l username] [clustername... | nodename...]
$CLUSTER_HOME/bin/crlogin [-l username] [clustername...
| nodename...]
$CLUSTER_HOME/bin/cssh [-l username] [-p ssh-port] [clustername...
| nodename...]
$CLUSTER_HOME/bin/ctelnet [clustername... | nodename...]
DESCRIPTION
These utilities initiate a multiple window connection to a set of specified hosts. There are three variations: one that is specifically
intended for remote console access while the others provide remote logins using rlogin, ssh, or telnet.
Each utility starts a host window for each of the specified hosts, as well as a common window. Input directed into the common window is
sent to each of these host windows.
This tool is useful for system administration tasks that require similar things to be done on each of several hosts. For tasks that are
identical on all hosts, typing in the common window sends the characters to all of the hosts. However, the host windows are normal terminal
windows so they can also be used one at a time (by moving the mouse into one of them and typing directly into it) to perform host specific
tasks.
The common window also allows the user to select which hosts receive the characters typed in the common window, so only the specified hosts
will receive input.
These utilities use entries in two different databases, /etc/clusters and /etc/serialports.
cconsole
The cconsole command provides remote console access through the telnet command. All normal telnet escape characters are available to the
user. See the telnet(1) man page for a complete listing of telnet escape characters. Because there are a few telnet escapes that are com-
monly used, they are provided here as well. The escape character is Control-], specified below as ^].
^] quit Quit the session. Analogous to ~. in tip and rlogin.
^] send brk Send a break signal to the remote system. This is what is needed to halt the Sun CPU. The normal key board sequence is
"L1-A."
crlogin
The crlogin utility provides remote login through the rlogin command to multiple cluster nodes.
cssh
The cssh utility establishes Secure Shell connections directly to the cluster nodes through the ssh command.
ctelnet
The ctelnet utility is similar to cconsole except that the connection is directly over the Internet.
OPTIONS
The following options are supported:
-l username Specifies the user name for the ssh connection. This option is passed to the cconsole, crlogin, or cssh utility when the
utility is launched from the CCP. The ctelnet utility ignores this option.
If the -l option is not specified, the user name that launched the CCP is effective.
-p ssh-port Specifies the Secure Shell port number to use. This option is passed to the cssh utility when the utility is launched from
the CCP. The cconsole, crlogin, and ctelnet utilities ignore this option,
If the -p option is not specified, the default port number 22 is used for secure connections.
-s Specifies using Secure Shell connections to node consoles instead of telnet connections. This option is passed to the
cconsole utility when the utility is launched from the CCP. The crlogin, cssh, and ctelnet utilities ignore this option.
If the -s option is not specified, the cconsole utility uses telnet connections to the consoles.
To override the -s option, deselect the Use SSH checkbox in the Options menu of the cconsole graphical user interface (GUI).
ENVIRONMENT VARIABLES
The following environment variables affect the execution of these utilities:
CLUSTER_HOME Location of Sun Cluster System tools. Defaults to /opt/SUNWcluster.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWccon |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
rlogin(1), ssh(1), telnet(1), tip(1), ccp(1M), chosts(1M), cports(1M), clusters(4), serialports(4), attributes(5)
NOTES
The standard set of X Window System command line arguments are accepted.
Sun Cluster 3.2 8 Sep 2007 cconsole(1M)