Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running RH 8.0 and what I need is to find the file that lets me tell the o/s what port i want to open with telnet. I know its defaulted to 23, but I want to change that to a different number.
Please Help
Digsby
Last edited by digsby0007; 02-05-2003 at 07:32 AM.
If I am thinking correctly (need caffeine) it is in /etc/services
Just scroll down there and hash out the first one, and add a similar one later down the line, hopefully in numerical order, with comments above and/or below it that tell what you are doing and why. :_)
Also, any particular reason you are not using ssh?
Here's a little background info on me. I'm pretty new to linux, and the reason I don't use ssh is I'm really sure what it is. My situation is that from work, the firewall blocks me on port 23 so I can't log into my machine. So what I have done in the past is change the port to 8080, and then I am able to connect. Now, if ssh would be a better way to connect please tell me how to use that, but keep in mind the firewall at work. My work machine is also a Win 98 box if that help.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
telnet is an unencrypted protocol and doesn't offer you protection from someone sniffing your user password when you login, ip spoofing, man-in-the-middle attack, sniffing your root password if you su to root while using telnet etc. Telnet has worked wondefully and has satisfied the remoting needs of millions of users, but in this day and age, whatever you type in to the telnet console is as good as it was 'transmitted'. Anyone looking to do some damage can find him a 'receiver' and grab your data packets and do whatever (s)he wishes with it..
SSH stands for Secure SHell that is more modern, behaves like telnet once you're connected, runs usually as a standalone service listening at TCP port 22 ( can be configured to listen to some different address) and uses asymmetric key pairs to encrypt/decrypt traffic. Visit http://www.openssh.org for an open source implementation of this protocol.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.