make sure people can telnet to my linux machine
Hello,
If i want to make sure people can telnet to my linux machine, which daemon i should check is on? pppd? telnetd? and ? Also, which command is used to see what daemon is running? Thanks a lot. |
inetd usually deals with telent.
check: /etc/inetd.conf Make sure the telnet line isn't commented out. |
If it is, uncomment it, save the file, then
Code:
killall -HUP inetd |
lol, good point Kristijan... completely forgot to mention how to use the info I provided. ;-)
|
Thanks.
Btw, how to see what daemon is running? |
Hi Kent!
To see if a service is active, you can check if something is listening to the port in question. Telnet uses port 23, a list of services and ports can be found (for example) here: http://www.iss.net/security_center/a...ts/default.htm To see if something listens to a port use the netstat command: netstat -ln You are looking for a line like this: Code:
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN |
Thanks!
How can you guys know so many things! :) haha.... |
Karate, not here (Mr. Miyagi points at Daniels hand)
Karate, not here (Mr. Miyagi points at Daniels foot) Karate, in here (Mr. Miyagi points at Daniels forehead) ;) Martin Disclaimer: It was a while since I saw it (Karate Kid), but I think the scene was something like that |
Martin, you're a complete nutball. Where the heck did the Karate Kid ravings come from? :)
I just feel the need to be the voice of reason here, so here I go again: Do NOT use telnet. Don't use it at all! There really is no reason to use telnet when there are worthy, secure replacements such as sshd and telnet-kerberos. Using telnet means you're sending passwords and information across the network in clear text which makes it extremely easy for someone to pick up not only perhaps critical information but also passwords and other sensitive information. Use ssh, that's my advice. It's just as easy and there are good free ssh clients for Windows if that's a requirement. All major Linux distributions come with the sshd daemon and ssh client and it's not much of a hazzle to get started either. Just start the daemon! Håkan |
Use ssh (look for sshd) -instead of telnet. Telnet is very insecure and anyone can look at your passwords.
|
All times are GMT -5. The time now is 03:02 AM. |