can't get telnetd to work

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
lateralus
Novice
Posts: 25
Joined: Sat Jun 10, 2006 3:35 pm

can't get telnetd to work

Post by lateralus » Fri Jun 08, 2007 2:23 am

Ok i know telnetd is insecure but frankly, there's really nothing that I would even care about if someone hacked my xbox. I always telnet into my pc and then ssh into my xbox from school, the problem is that gets really slow. I'd like to just forward port 23 straight to my xbox so I can just telnet into my xbox instead of being bored in business math. Yeah I changed /etc/xinetd.d/telnetd from disable = yes to disable = no.

so my configuration looks like this:

service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

after i did that i rebooted. then i ran:

nmap -sS xbox

i get this:

Starting Nmap 4.20 ( website address i can't post ) at 2007-06-07 21:25 CDT
Interesting ports on Xbox (192.168.1.6):
Not shown: 1690 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
139/tcp open netbios-ssn
445/tcp open microsoft-ds
5800/tcp open vnc-http
5900/tcp open vnc
10000/tcp open snet-sensor-mgmt

Nmap finished: 1 IP address (1 host up) scanned in 0.797 seconds

notice no telnet port 23 open?
then I ssh into my xbox and run telnetd and this is what i get:

Xbox ~ # telnetd
telnetd: getpeername: Socket operation on non-socket
.

I have no idea how to fix this.

can anyone help me?

thanks, lateralus

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Fri Jun 08, 2007 11:33 pm

I always telnet into my pc and then ssh into my xbox from school, the problem is that gets really slow.
why not just port forward port 22 to your xbox and SSH straight to your xbox?

lateralus
Novice
Posts: 25
Joined: Sat Jun 10, 2006 3:35 pm

Post by lateralus » Sat Jun 09, 2007 9:47 pm

orochi wrote:
I always telnet into my pc and then ssh into my xbox from school, the problem is that gets really slow.
why not just port forward port 22 to your xbox and SSH straight to your xbox?


because microsoft does not use ssh so the don't have an ssh client included in their operating system :P

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Sun Jun 10, 2007 12:38 am

If your school doesnt lock down access to telnet, then you probably have access to download a ssh client for windows.


Try Putty, it doesnt need to be installed


http://www.chiark.greenend.org.uk/~sgtatham/putty/

that way you wont have to mess with telnet

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests