Archive

Archive for the ‘iPhone’ Category

Problema con ssh al iphone

October 18th, 2010

Estuve un par de dias tratando de solucionar este problema, y por fin encontre un fix. Ya que hay poca info en la vuelta, decidi tirar un post aca, capaz que alguien tiene el mismo drama y le ahorro unas horas de googleo.
El asunto es asi, al intentar conectarme por ssh al iphone se me cerraba la conexion tirandome un mensaje del estilo:

mstekl@cassandrita:~$ ssh root@192.168.1.100 -vvv
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.100 [192.168.1.100] port 22.
debug1: Connection established.
debug1: identity file /home/mstekl/.ssh/identity type -1
debug1: identity file /home/mstekl/.ssh/id_rsa type -1
debug1: identity file /home/mstekl/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host

La solucion es tan simple como borrar los siguientes archivos:
/System/Library/LaunchDaemons/com.ikey.bbot.plist y /Bin/poc-bbot
Luego hay que reinstalar el openSSH
Ah, para borrar los archivos utilice iFile, pero supongo que tambien se puede hacer a traves de la terminal.
Con eso salio funcionando sin problemas.

La explicacion? Aparentemente hay un gusano llamado Worm:iPhoneOS/Ikee.C que usa el password por defecto de root para distribuirse entre los iphones con Jailbreak.

Espero que sirva de algo la info

mstekl