SSHDroid verbindet nicht

W

wabrosch

Neues Mitglied
0
hallo,
habe soeben mein S4 gerootet, hat wunderbar geklappt.
nun aber wie komme ich mit SSH auf mein gerät? habe den ssh-server installiert, aber bei der anmeldung fragt er mich nach dem (root) - passwort. weiss jemand das passwort??
BTW, muss ich einen speziellen root antivirus oder anderes installieren?
danke
 
kann mir niemand helfen?
 
Mit welchen Programm hast du den SSH-Server installiert? Generell werden alle Einstellungen mit der App (SSHDroid z.B.) vorgenommen.

PS: Und immer mit Geduld, hier sind alle nur Freiwillig hier, wie du auch hier bist. ;)
 
Hallo,
sorry wenn ich etwas voreilig war..
Jetzt habe ich SSHDroid installiert. Ich kann mich über Putty verbinden, aber sobald ich das passwort eingebe, schliesst das fenster ..
Ich möchte eine ssh verbindung herstellen von meinem pc zum android..
 
Welches Fenster schließt sich, die App oder Putty Terminal? Ist dein S4 wirklich gerootet?
 
Das putty fenster schliesst nach der passworteingabe.
Ja es ist gerootet
 
Mit welcher Adresse hast Du Dich verbunden? SSHDroid zeigt am Adressbeginn sftp:// an, das musst Du für eine putty-Sizung weglassen.
 
Ja, das weiss ich, denn ich nutze putty auch geschäftlich.
Es kommt eine verbindung zustande, inseriere username und dann das passwort, dann schliesst das fenster..

Der ursprüngliche Beitrag von 10:01 Uhr wurde um 10:08 Uhr ergänzt:

Ok, mit linux schliesst die ssh verbindung auch aber gibt mir nach der passwort eingabe - "Child failed".
Was bedeutet das?
 
ganz platt: das ein Kind - Prozess schon beim starten abgewürgt wurde. also irgend ein programmteil der von ssh aufgerufen wurde. Was zeigt denn logcat oder dmesg an?
 
Ist es derselbe Fehler wie im Zitat von hier? Dort verspricht der Entwickler baldige Abhilfe. Das war Ende Juli. Vielleicht verfolgst Du den Thread mal weiter. Hast Du Busybox installiert?

Ich habe keinen solchen Fehler bei SSSDroid.
 
Ja es ist genau derselbe Fehler den ich habe!
Nein Busybox habe ich nicht installiert...

Der ursprüngliche Beitrag von 13:28 Uhr wurde um 13:46 Uhr ergänzt:

habe jetzt busybox installiert und damit versucht.. geht auch nicht..

dies ist mein output:

Code:
yves@W520-Linux:~/Downloads$ ssh -vvv root@192.168.3.83
OpenSSH_6.2p2, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 50: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.3.83 [192.168.3.83] port 22.
debug1: Connection established.
debug1: identity file /home/yves/.ssh/id_rsa type -1
debug1: identity file /home/yves/.ssh/id_rsa-cert type -1
debug1: identity file /home/yves/.ssh/id_dsa type -1
debug1: identity file /home/yves/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version dropbear_0.52
debug1: no match: dropbear_0.52
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "192.168.3.83" from file "/home/yves/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/yves/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: [email]ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com[/email],ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: [email]ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com[/email],ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: [email]hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com[/email],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: [email]hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com[/email],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,3des-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes256-cbc
debug2: kex_parse_kexinit: aes128-ctr,3des-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes256-cbc
debug2: kex_parse_kexinit: hmac-sha1-96,hmac-sha1,hmac-md5
debug2: kex_parse_kexinit: hmac-sha1-96,hmac-sha1,hmac-md5
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug2: dh_gen_key: priv key bits set: 136/256
debug2: bits set: 516/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA 68:04:ba:b6:5d:4c:d5:56:64:d6:27:57:6c:25:98:f4
debug3: load_hostkeys: loading entries for host "192.168.3.83" from file "/home/yves/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/yves/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys
debug1: Host '192.168.3.83' is known and matches the RSA host key.
debug1: Found key in /home/yves/.ssh/known_hosts:5
debug2: bits set: 508/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/yves/.ssh/id_rsa ((nil)),
debug2: key: /home/yves/.ssh/id_dsa ((nil)),
debug3: input_userauth_banner

debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/yves/.ssh/id_rsa
debug3: no such identity: /home/yves/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/yves/.ssh/id_dsa
debug3: no such identity: /home/yves/.ssh/id_dsa: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@192.168.3.83's password: 
debug3: packet_send2: adding 64 (len 55 padlen 9 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to 192.168.3.83 ([192.168.3.83]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug3: Ignored env XDG_VTNR
debug3: Ignored env SSH_AGENT_PID
debug3: Ignored env XDG_SESSION_ID
debug3: Ignored env KDE_MULTIHEAD
debug3: Ignored env HOSTNAME
debug3: Ignored env DM_CONTROL
debug3: Ignored env SHELL
debug3: Ignored env TERM
debug3: Ignored env XDG_MENU_PREFIX
debug3: Ignored env HISTSIZE
debug3: Ignored env XDM_MANAGED
debug3: Ignored env GTK2_RC_FILES
debug3: Ignored env KONSOLE_DBUS_SERVICE
debug3: Ignored env KONSOLE_PROFILE_NAME
debug3: Ignored env GS_LIB
debug3: Ignored env GTK_RC_FILES
debug3: Ignored env WINDOWID
debug3: Ignored env QTDIR
debug3: Ignored env SHELL_SESSION_ID
debug3: Ignored env QTINC
debug3: Ignored env KDE_FULL_SESSION
debug3: Ignored env QT_GRAPHICSSYSTEM_CHECKED
debug3: Ignored env USER
debug3: Ignored env LS_COLORS
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env SESSION_MANAGER
debug3: Ignored env DESKTOP_SESSION
debug3: Ignored env MAIL
debug3: Ignored env PATH
debug3: Ignored env PWD
debug3: Ignored env KDE_SESSION_UID
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env KDE_IS_PRELINKED
debug3: Ignored env KDEDIRS
debug3: Ignored env KONSOLE_DBUS_SESSION
debug3: Ignored env HISTCONTROL
debug3: Ignored env SSH_ASKPASS
debug3: Ignored env HOME
debug3: Ignored env COLORFGBG
debug3: Ignored env XDG_SEAT
debug3: Ignored env SHLVL
debug3: Ignored env KDE_SESSION_VERSION
debug1: Sending env LANGUAGE = 
debug2: channel 0: request env confirm 0
debug3: Ignored env XCURSOR_THEME
debug3: Ignored env LOGNAME
debug3: Ignored env QTLIB
debug3: Ignored env XDG_DATA_DIRS
debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
debug3: Ignored env LESSOPEN
debug3: Ignored env WINDOWPATH
debug3: Ignored env PROFILEHOME
debug3: Ignored env XDG_RUNTIME_DIR
debug3: Ignored env DISPLAY
debug3: Ignored env QT_PLUGIN_PATH
debug3: Ignored env XDG_CURRENT_DESKTOP
debug3: Ignored env XAUTHORITY
debug3: Ignored env _
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 24576 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

Connection to 192.168.3.83 closed.
Transferred: sent 2520, received 1040 bytes, in 0.0 seconds
Bytes per second: sent 57190.7, received 23602.5
debug1: Exit status 1
yves@W520-Linux:~/Downloads$ 


yves@W520-Linux:~/Downloads$ telnet 192.168.3.83 22
Trying 192.168.3.83...
Connected to 192.168.3.83.
Escape character is '^]'.
SSH-2.0-dropbear_0.52
^]
telnet> q
Connection closed.
yves@W520-Linux:~/Downloads$
 
Zuletzt bearbeitet von einem Moderator:
ok ganz klat ists mir noch nicht aber:

#debug1: Remote protocol version 2.0, remote software version #dropbear_0.52 debug1: no match: dropbear_0.52

er erwartet dropbear_0.52 ganz unten findet man allerdings:

# SSH-2.0-dropbear_0.52

das dürfte wohl das dropbear aufm Handy sein oder?


achja hab gerade was gefunden was dir vll. weiterhelfen kann.
SSHelper
 
Vielen Dank, mit dem SSHelper hat es geklappt, konnte mich verbinden!
Leider aber konnte ich mein Vorhaben nicht erfüllen, einen Link erstellen..
"ln -s <extSDCard>/music <int>Music"
 
Ich nehme an, <int> ist die interne SD-Karte. Nein, das geht nicht, da die FAT-formatiert ist und zu symbolischen Links nur„hä?” sagt. (SSH-Zugang brauchst Du für so was auch nicht, adb shell hätte es getan.) Weiterhelfen dürfte Dir die App DirectoryBind.
 
  • Danke
Reaktionen: wabrosch
Genau so ist es..
Wie heisst das Programm genau das du mir empfiehlst? Denn DirectoryBind habe ich nicht gefunden...
Habe ich das richtig verstanden, damit ich 2 directories "binden" kann brauche ich root, aber kein SSH? oder benötige ich gar kein gerootetes gerät?
Sorry für die vielen Fragen, bin aber ziemlich neu auf android's..
 
Zuletzt bearbeitet:
DirectoryBind bekommst Du hier: [TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req. - xda-developers. Der Titel ist ein wenig irreführend. Du kannst jedes Verzeichnis an jeder Stelle erscheinen lassen. Du trägst also ein, wo Deine Daten jetzt liegen und wo sie zusätzlich erscheinen sollen (sollte ein leeres Verzeichnis sein). Langes Drücken auf das Eingabefeld öffnet übrigens einen einfachen Dateiexplorer. Rechts unten musst Du nun nur noch ggfs. „An”-schalten (dein eben definiertes Ordnerpaar muss angehakt sein) und dann im Menü mit „Bind checked” die Aktion durchführen lassen. Jetzt erscheinen Deine Daten auch am neuen Platz.
 
  • Danke
Reaktionen: wabrosch

Ähnliche Themen

B
Antworten
3
Aufrufe
190
holms
holms
Harald01
Antworten
3
Aufrufe
216
Harald01
Harald01
Zurück
Oben Unten