PDA

Ver la versión completa : [Ayuda] Montar dispositivo en ubuntu



The_Punisher
19/01/2010, 22:12
He seguido un par de tutos para intentar sincronizar el iphone con amarok y no se en que momento he metido la pata, pero llego al punto en el que intento montarlo manualmente con "iphone-moun" y me devuelte esto root@192.168.1.14's password:

Lo creais o no, no se que pass me pide, y *****, ninguna de las que pongo vale.

Seguro que es una tonteria, fayudarme!!!!!!

geekko
19/01/2010, 22:22
¿Has probado 1234?

Por cierto, sera iphone-mount, no iphone-moun, ¿no?

The_Punisher
19/01/2010, 22:24
Es curioso, si pongo 1234 me da un error y pone permiso denegado, intentelo de nuevo, con ninguna otra pass pone nada

y si me falta una t :P

Mo1
19/01/2010, 22:31
Eso te pasa por haber cambiao la pass del itelefono xD Y gracias también a tu memoria de elefante jajaja

^MiSaTo^
19/01/2010, 22:39
prueba con "alpine" es la pass por defecto de los iphones

The_Punisher
19/01/2010, 22:41
Eso te pasa por haber cambiao la pass del itelefono xD Y gracias también a tu memoria de elefante jajaja

Tranquilo que no es de eso, que me conecto perfectamente al telefono a traves del filezilla...

< - >

prueba con "alpine" es la pass por defecto de los iphones
Ni alpine, ni dottie ni la que tengo, NADA, por eso pregunto, esa pass, me la esta pidiendo el telefono? he reinstalado el ssh del telefono, y he vuelto a probar con todas las pass, y ya os digo que al filezilla entro perfectamente

Molondro
19/01/2010, 22:44
prueba con "tenga"

The_Punisher
19/01/2010, 22:49
prueba con "tenga"

Ahora mismo empleaba las tecnicas de matanza aprendidas para acabar contigo, esperaba una respuesta chachi, estoy tenso!!!

Aiken
19/01/2010, 22:54
esa pass, me la esta pidiendo el telefono?

te la esta pidiendo quien sea que tiene la ip 192.168.1.14, mira la ip de tu equipo, si no es tu equipo pues digo yo que sera el telefono.


prueba a hacer una ssh directamente a esa ip.
en la linea de comandos:
> ssh root@192.168.1.14

a ver si te da algun mensaje de bienvenida o algo.
Aiken

Mo1
19/01/2010, 23:01
puede ser la pass del router? por decir algo xD

pq esa sólo la se yo xD

The_Punisher
19/01/2010, 23:05
daniel@daniel-portatil:~$ ssh root@192.168.1.14
root@192.168.1.14's password:

Os dejo los enlaces de los dos tutos que mire, porque no tiene sentido, la pass me la pide el telefono, pero sin embargo con la contraseña que tengo me conecto con el filezilla :S

http://magarto.com/blog/archivo/2007/12/31/iphone-ipod-touch-ubuntu-gtkpod-amarok/

http://tomateotra.wordpress.com/2009/04/26/howto-sincronizar-musica-para-el-iphoneipod-touch-desde-amarok-en-ubuntu/

< - >

puede ser la pass del router? por decir algo xD

pq esa sólo la se yo xD


Que va esa IP es la de mi telefono


----------------------


Ahora se vuelve loco xD



Permission denied, please try again.
root@192.168.1.14's password:
Permission denied (publickey,password,keyboard-interactive).
root@192.168.1.14's password:
You don't have a Firewire GUID, so we will create one
FirewireGuid: 0x0524f854e1f3ef96
daniel@daniel-portatil:~$ iphone-mount
root@192.168.1.14's password:
root@192.168.1.14's password:
root@192.168.1.14's password:
root@192.168.1.14's password:
read: Connection reset by peer
Failed to mount /media/iphone
daniel@daniel-portatil:~$ iphone-mount
6root@192.168.1.14's password:
Permission denied, please try again.
root@192.168.1.14's password:
root@192.168.1.14's password:
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
Failed to mount /media/iphone
daniel@daniel-portatil:~$

Mo1
19/01/2010, 23:33
Ya sé que es la ip de tu ladrillofono, se la asigné yo xD

Aiken
20/01/2010, 04:07
he reinstalado el ssh del telefono, y he vuelto a probar con todas las pass, y ya os digo que al filezilla entro perfectamente

aunque reinstales ssh, los usuarios y sus passwords no se resetean ni eliminan.
no sera que el anterior dueño en algun momento modifico el pass de root?

con filezilla te conectas como root?
> ftp 192.168.1.14 y prueba con usuario root y password el que tengas.

tambien puede ser que ssh tenga desactivado el acceso al usuario root por seguridad, pero para poder comprobar la conf primero tienes que poder conectarte.

Aiken

The_Punisher
20/01/2010, 09:36
http://img138.imageshack.us/img138/7697/pantallazogestordesitio.png


Si, me conecto como root, hay alguna manera de borrar de manera completa el ssh del telefono?

tengo terminal en el telefono jajaja

Aiken
20/01/2010, 09:48
Si, me conecto como root, hay alguna manera de borrar de manera completa el ssh del telefono?
tengo terminal en el telefono jajaja


**** y te conectas con sftp, eso es practicamente ssh tambien!

si tienes terminal en el telefono porque no intentas cambiar el password de root, a ver si hay suerte.

Aiken

Uncanny
20/01/2010, 10:24
No se como va el tema con el iPhone, pero la verdad es que resulta extraño que puedas acceder por SFTP y no directamente por SSH, si al menos pudieras editar el archivo /etc/sshd_config del iPhone y ver el contenido quizás se podría ver si hay alguna linea de configuración, como un "PermitRootLogin=no" o algo similar que se pueda cambiar.

También podrías probar a intentar entrar con el cliente de Telnet/SSH PuTTY, ya sea el cliente nativo de Linux o el de Windows via wine, por curiosidad al menos.

The_Punisher
20/01/2010, 12:40
http://img716.imageshack.us/img716/4690/pantallazoiphonesftproo.png

Hay demasiadas cosas aqui xD puedo borrarlas todas y empezar de 0, o me lo cargo si lo hago? xD

< - >
Me he cargado todas menos el ssh_config y el sshd_config y ya no me pide pass xDDDDDDDd

Pero ahora...


daniel@daniel-portatil:~$ iphone-mount
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c5:58:d2:e0:52:ca:9a:58:64:dc:b4:ae:17:67:4e:e7.
Please contact your system administrator.
Add correct host key in /home/daniel/.ssh/known_hosts to get rid of this message.
Offending key in /home/daniel/.ssh/known_hosts:1
RSA host key for 192.168.1.14 has changed and you have requested strict checking.
Host key verification failed.
read: Connection reset by peer
Failed to mount /media/iphone
daniel@daniel-portatil:~$

The_Punisher
20/01/2010, 12:48
daniel@daniel-portatil:~$ iphone-mount
The authenticity of host '192.168.1.14 (192.168.1.14)' can't be established.
RSA key fingerprint is c5:58:d2:e0:52:ca:9a:58:64:dc:b4:ae:17:67:4e:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.14' (RSA) to the list of known hosts.
root@192.168.1.14's password:
root@192.168.1.14's password:
root@192.168.1.14's password:


Nada me pego un tiro o algo xD

juanvvc
20/01/2010, 13:06
El problema es o bien que no tienes la contraseña de root (pero sí que la tienes, es la misma que la de esta captura que pones: http://www.gp32spain.com/foros/showpost.php?p=1022011&postcount=14) o bien el root no puede entrar por SSH como te han dicho varias veces.

Abre /etc/ssh/sshd_config del móvil y confírmalo.

efegea
20/01/2010, 13:09
Sí se puede


Last login: Mon Jan 18 20:42:59 on ttys000
pc-de-efegea:~ efegea$ ssh root@192.168.0.9
root@192.168.0.9's password:
iPhone-de-efegea:~ root# uname -a
Darwin iPhone-de-efegea 10.0.0d3 Darwin Kernel Version 10.0.0d3: Wed May 13 22:11:58 PDT 2009; root:xnu-1357.2.89~4/RELEASE_ARM_S5L8900X iPhone1,1 arm M68AP Darwin

The_Punisher
20/01/2010, 13:30
sshd_config


# $OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 djm Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2

# HostKey for protocol version 1
HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication no
#PubkeyAuthentication no
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
#UsePAM no

#AllowTcpForwarding yes
GatewayPorts clientspecified
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server

Aiken
20/01/2010, 14:11
Sí se puede

sí se puede, en el tuyo.

Aiken


< - >


#PermitRootLogin yes


va a ser por esto, lo tienes comentado # y supongo que por defecto es "no".

Quitale el # de delante, reinicia el sshd y prueba.
Aiken

The_Punisher
20/01/2010, 20:42
He quitado # de la linea #PermitRootLogin yes y sigue pidiendome pass, la pongo y naranjas de la china :(

juanvvc
20/01/2010, 20:48
No solo tienes que quitar la almohadilla #, también tienes que reiniciar sshd. Supongo que lo más fácil para hacerlo es simplemente reiniciar el móvil :)

The_Punisher
20/01/2010, 21:44
No solo tienes que quitar la almohadilla #, también tienes que reiniciar sshd. Supongo que lo más fácil para hacerlo es simplemente reiniciar el móvil :)

Nada :(, doy mas guerra que un hijo bobo.

No hay manera de reinstalar todo de manera limpia y empezar de 0?

< - >
Bueno ya lo he montado xD ahora el amarok no lo reconoce, dice que no encuentra ningun ipod, lastima, buscare otro tuto xdDDDDDDDDDDDD