Click to See Complete Forum and Search --> : Telnet question...
skrap
10-31-2001, 04:36 PM
Hi,
I am currently running Redhat 7.0
I would like to be able to tenet to my machine, how would I go about setting this up. Any help would be greatly appreciated.
Jake
ph34r
10-31-2001, 05:08 PM
Telnet is terribly insecure - please don't use it. Get ssh (www.openssh.org) instead.
scanez
10-31-2001, 05:08 PM
Install the telnet-server package, it should be on the RedHat website, RedHat CDs if you have them, or you can get it from rpmfind.net. Once you install it, make sure that the telnet file in the /etc/xinetd.d directory has the line
disable = no
Then run
/etc/rc.d/init.d/telnet restart
to start the server. I think those are the instructions but since I haven't used RedHat in months they may be a little off. Try them and come back if you are still having problems.
Good luck
SC
Edit: In regard to the above post, yes, telnet can be very insecure. I also suggest using ssh. Only use telnet if you absolutely must have to.
[ 31 October 2001: Message edited by: scanez ]
linuxluis
10-31-2001, 06:05 PM
I think ph34r is right with telnet. you could use 2 different once.
ssh and SecureCRT ...
I use ssh to connect from home to work or work to other sites.
its easy to learn plus the one i'm running I believe is
OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
Good lucky
Bishop :cool:
skrap
11-01-2001, 04:00 AM
Hi everyone,
Thank you for your replies. Today I upgraded to Red Hat 7.2. I installed telnet-server, but am unable to use it. I am pretty new to linux, so the errors still seem a bit foreign. This is what I get when I run ./telnet from the /etc/xinetd.d/ directory:
/etc/xinetd.d././telnet: flags:command not found
/etc/xinetd.d/./telnet: socket type: command not found
./etc/xinetd.d/./telnet: wait: '=' is not a pid or valid job spec
/etc/xinetd.d/./telnetL wait:'no' is not a pid or valid job spec
/etc/xinetd.d/./telnet: user: command not found
/etc/xinetd.d/./telnet: server: command not found
/etc/xinetd.d/./telnet: log_on_failure: command not found
/etc/xinetd.d/./telnet: disable: command not found
Any help would be greatly appreciated :)
Jake
scanez
11-01-2001, 04:07 AM
Originally posted by skrap:
<STRONG>Hi everyone,
Thank you for your replies. Today I upgraded to Red Hat 7.2. I installed telnet-server, but am unable to use it. I am pretty new to linux, so the errors still seem a bit foreign. This is what I get when I run ./telnet from the /etc/xinetd.d/ directory:
/etc/xinetd.d././telnet: flags:command not found
/etc/xinetd.d/./telnet: socket type: command not found
./etc/xinetd.d/./telnet: wait: '=' is not a pid or valid job spec
/etc/xinetd.d/./telnetL wait:'no' is not a pid or valid job spec
/etc/xinetd.d/./telnet: user: command not found
/etc/xinetd.d/./telnet: server: command not found
/etc/xinetd.d/./telnet: log_on_failure: command not found
/etc/xinetd.d/./telnet: disable: command not found
Any help would be greatly appreciated :)
Jake</STRONG>
No no no, /etc/xinetd.d just has the config files for telnet. It is started from /etc/rc.d/init.d:
cd /etc/rc.d/init.d
./telnet restart
make sure that the telnet config file says "disable=no" in /etc/xinetd.d before doing this.
skrap
11-01-2001, 04:14 AM
[/QUOTE]
No no no, /etc/xinetd.d just has the config files for telnet. It is started from /etc/rc.d/init.d:
cd /etc/rc.d/init.d
./telnet restart
make sure that the telnet config file says "disable=no" in /etc/xinetd.d before doing this.[/QB][/QUOTE]
I tried the /etc/rc.d/init.d/./telnet restart
"no such file or directory" I looked in the directory, no telnet. Did I do something wrong?
scanez
11-01-2001, 04:22 AM
Ahhhh, sorry about that, telnet is started through xinetd. After you check the telnet config file to say disable=no, run
/etc/rc.d/init.d/xinetd restart
That should work
SC
skrap
11-01-2001, 04:28 AM
It worked! thanks :)
X_console
11-01-2001, 05:28 AM
Telnet is a good way to get cracked because your session isn't encrypted. Hence a sniffer will easily pick up your login/password.
Use ssh as ph3ar said. It's free, it's easy to use, and it's more secure. It also comes with sftp, a secure ftp client. What more could you want? Most servers support ssh and sftp. http://www.openssh.com