Page 1 of 1

can't get telnetd to work

Posted: Fri Jun 08, 2007 2:23 am
by lateralus
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

Posted: Fri Jun 08, 2007 11:33 pm
by orochi
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?

Posted: Sat Jun 09, 2007 9:47 pm
by lateralus
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

Posted: Sun Jun 10, 2007 12:38 am
by orochi
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