telnetrc(4) Kernel Interfaces Manual telnetrc(4)NAME
telnetrc, .telnetrc - Specifies setup commands for a telnet session
SYNOPSIS
$HOME/.telnetrc
DESCRIPTION
The .telnetrc file contains the setup information for a telnet session. It is a hidden file in your home directory and must be readable by
the user logging in.
The file can consist of multiple entries for each remote host to which a user can connect. A remote host entry consists of multiple lines.
The first line is the name of a remote host. The subsequent lines must begin with blank spaces, and contain telnet subcommands. These sub-
commands are processed as though they were typed in manually. Lines beginning with a number sign (#) are comment lines. See telnet(1) for
a complete list of telnet subcommands.
To specify subcommands that apply to all systems, create an entry, using the word "DEFAULT" as the system name, and specify the telnet sub-
commands in the subsequent lines.
EXAMPLES
The following shows a sample .telnetrc file:
# Beginning of telnetrc file # Default subcommands that apply to all systems DEFAULT
environ undefine USER # First system entry system1
set echo
toggle crlf # Second system entry system2
set echo
mode line
toggle crlf
FILES
User-customized telnet startup values.
RELATED INFORMATION
Commands: telnet(1). delim off
telnetrc(4)
Check Out this Related Man Page
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
Hi everybody !
We have all flavors of Unix / Linux and we want to restrict ftp users to telnet our servers.
We can't disable telnet because we have other users using it.
:confused: Are there any thing that could be done to solve this thing ???
Best regards,
Julio Moreira (11 Replies)
hey,
I was wondering if anybody could help me setup my telnet on my linux 7.1 machine. I need it so i can do some remote work on soem stuff i've got going when i go away next month. I've tried a few times before but it didn't work, i don't know why.
thanks for your help. (23 Replies)
How can I disconnect an existing telnet session? The host is a serial port server with multiple ports. The users login using the host's name and a port, i.e. telnet host01 1235.
Thanks. (14 Replies)
Hi folks,
Ubuntu 7.04 server amd64
On running;
$ telnet localhost 106
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
$ netstat -an | grep 106
$ sudo netstat -an | grep 106
both no printout
Pls advise where shall I check and how to fix... (22 Replies)
Hi,
On one PC I cannot do telnet due to "Bus error". What could cause this?
telnet
Bus error
telnet port is open:
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 10584/xinetd
# cat /etc/xinetd.d/telnet
# default: on
# description: The... (21 Replies)
I have a problem where on one unix machine I can telnet all IP addresses in the host file with no connection problem and another machine has recently started to have trouble connecting with the same host IP's on just some IP addresses where it had no trouble before. Have any ideas?? (17 Replies)
Hi guys,
After changing my workstation from domain rsm.renesas.com to my.renesas.local, I was unable to telnet to 1 of our Sun Solaris servers.
There r errors in the messages file:
Aug 15 17:35:26 rsmsso1.svc.rsm.renesas.com inetd: warning: can't verify hostname:... (12 Replies)
Hello,
We were using telnet as in the below script to allow a different user execute the below scripts.We dont want the user to know our uid/pwd.However telnet was revoked by our admins and we are no more able to use this piece of script.
else
{
echo "user1"
sleep 2
... (12 Replies)
I am trying to use telnet to access a linux box. I know I should be using SSH (which I use personally), but i have to use telnet. How do I configure the linux box to accept the telnet request.
I am using Suse
Thanks for any help (11 Replies)
Hi,
I telnet to the localost in new install Sun 5.10
I get below error
I also telnet from other to this mahcine but get "access deny" after input root password.
The password is correct as I can login in console
"Not on system console
connection to unknown cloase by foregin host"
Why ,... (25 Replies)
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Hi SSHers,
I have embedded this below code in my shell script..
/usr/bin/ssh -t $USER@$SERVER1 /usr/bin/ssh $USER2@S$SERVER2 echo uptime:`/opt/OV/bin/snmpget -r 0 -t 60 $nodeName system.3.0 | cut -d: -f3-5`
SSH to both these servers are public-key authenticated, so things run... (13 Replies)
Hi all!
I have a Pioneer VSX-921 which I am very happy about. It has airplay, lots of other features. One of them is controlling it with your Iphone and telnet.
And now it becomes interesting! I want to make a bash script to log into my amp, send a command: MZ (which means mute) and then exit... (29 Replies)
I have inherited and SCO OpenServer Release 6 server. The clients connect using telnet to get to a proprietary database application for Service tickets. The issue I am currently having is that the connection just stops abruptly and you can see "telnet session terminated" on the terminal emulation... (22 Replies)