Re: Problem using ssh on N800

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The only thing in /var/log/auth.log that stands out is
"/etc/default/locale not found". I've fixed that but it hasn't
improved anything.
Thanks for all the suggestions, but I'm still stumped. I've repeated
the operation with maximum debug levels and the results from the point
of entering the password are below.

Contents of /var/log/auth on server:

Feb 12 15:17:25 aten sshd[26304]: debug3: recv_rexec_state: entering fd = 5
Feb 12 15:17:26 aten sshd[26304]: debug3: ssh_msg_recv entering
Feb 12 15:17:26 aten sshd[26304]: debug3: recv_rexec_state: done
Feb 12 15:17:26 aten sshd[26304]: debug2: parse_server_config: config
rexec len 608
Feb 12 15:17:26 aten sshd[26304]: debug3: rexec:5 setting Port 22
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:6 setting Port 2222
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:10 setting Protocol 2
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:12 setting HostKey
/etc/ssh/ssh_host_rsa_key
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:13 setting HostKey
/etc/ssh/ssh_host_dsa_key
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:15 setting
KeyRegenerationInterval 3600
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:16 setting ServerKeyBits 768
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:19 setting SyslogFacility AUTH
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:20 setting LogLevel INFO
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:23 setting LoginGraceTime 600
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:25 setting StrictModes yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:27 setting RSAAuthentication yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:28 setting
PubkeyAuthentication yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:34 setting IgnoreRhosts yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:36 setting
RhostsRSAAuthentication no
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:38 setting
HostbasedAuthentication no
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:43 setting
PermitEmptyPasswords no
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:49 setting
PasswordAuthentication yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:64 setting X11Forwarding yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:65 setting X11DisplayOffset 10
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:66 setting PrintMotd no
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:68 setting TCPKeepAlive yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:75 setting Subsystem
sftp /usr/lib/openssh/sftp-server
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:77 setting
UsePrivilegeSeparation no
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:79 setting UsePAM yes
Feb 12 15:17:27 aten sshd[26304]: debug3: rexec:81 setting AllowUsers nx martin
Feb 12 15:17:27 aten sshd[26304]: debug1: sshd version OpenSSH_5.1p1 Debian-3
Feb 12 15:17:27 aten sshd[26304]: debug3: Not a RSA1 key file
/etc/ssh/ssh_host_rsa_key.
Feb 12 15:17:27 aten sshd[26304]: debug1: read PEM private key done: type RSA
Feb 12 15:17:27 aten sshd[26304]: debug1: Checking blacklist file
/usr/share/ssh/blacklist.RSA-1024
Feb 12 15:17:27 aten sshd[26304]: debug1: Checking blacklist file
/etc/ssh/blacklist.RSA-1024
Feb 12 15:17:27 aten sshd[26304]: debug1: private host key: #0 type 1 RSA
Feb 12 15:17:27 aten sshd[26304]: debug3: Not a RSA1 key file
/etc/ssh/ssh_host_dsa_key.
Feb 12 15:17:27 aten sshd[26304]: debug1: read PEM private key done: type DSA
Feb 12 15:17:27 aten sshd[26304]: debug1: Checking blacklist file
/usr/share/ssh/blacklist.DSA-1024
Feb 12 15:17:27 aten sshd[26304]: debug1: Checking blacklist file
/etc/ssh/blacklist.DSA-1024
Feb 12 15:17:27 aten sshd[26304]: debug1: private host key: #1 type 2 DSA
Feb 12 15:18:05 aten sshd[26304]: pam_unix(sshd:session): session
opened for user martin by (uid=0)

Output of sshd -ddd:

Accepted keyboard-interactive/pam for martin from 192.168.0.7 port 52704 ssh2
debug1: PAM: establishing credentials
debug3: PAM: opening session
debug3: PAM: sshpam_store_conv called with 1 messages
debug3: PAM: sshpam_store_conv called with 1 messages
debug1: Entering interactive session for SSH2.
debug2: fd 5 setting O_NONBLOCK
debug2: fd 6 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384
debug1: input_session_request
debug1: channel 0: new [server-session]
debug2: session_new: allocate (allocated 0 max 10)
debug3: session_unused: session id 0 unused
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
<long wait>
Read error from remote host 192.168.0.7: Connection reset by peer
debug1: do_cleanup
debug1: PAM: cleanup
debug1: PAM: deleting credentials
debug1: PAM: closing session
debug3: PAM: sshpam_thread_cleanup entering


Output of ssh on N800:

Password:
debug3: packet_send2: adding 32 (len 21 padlen 11 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
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: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
debug3: tty_make_modes: ospeed 38400
debug3: tty_make_modes: ispeed 38400
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
debug3: tty_make_modes: 3 127
debug3: tty_make_modes: 4 21
debug3: tty_make_modes: 5 4
debug3: tty_make_modes: 6 0
debug3: tty_make_modes: 7 0
debug3: tty_make_modes: 8 17
debug3: tty_make_modes: 9 19
debug3: tty_make_modes: 10 26
debug3: tty_make_modes: 12 18
debug3: tty_make_modes: 13 23
debug3: tty_make_modes: 14 22
debug3: tty_make_modes: 18 15
debug3: tty_make_modes: 30 0
debug3: tty_make_modes: 31 0
debug3: tty_make_modes: 32 0
debug3: tty_make_modes: 33 0
debug3: tty_make_modes: 34 0
debug3: tty_make_modes: 35 0
debug3: tty_make_modes: 36 1
debug3: tty_make_modes: 37 0
debug3: tty_make_modes: 38 1
debug3: tty_make_modes: 39 0
debug3: tty_make_modes: 40 0
debug3: tty_make_modes: 41 0
debug3: tty_make_modes: 50 1
debug3: tty_make_modes: 51 1
debug3: tty_make_modes: 52 0
debug3: tty_make_modes: 53 1
debug3: tty_make_modes: 54 1
debug3: tty_make_modes: 55 1
debug3: tty_make_modes: 56 0
debug3: tty_make_modes: 57 0
debug3: tty_make_modes: 58 0
debug3: tty_make_modes: 59 1
debug3: tty_make_modes: 60 1
debug3: tty_make_modes: 61 1
debug3: tty_make_modes: 62 0
debug3: tty_make_modes: 70 1
debug3: tty_make_modes: 71 0
debug3: tty_make_modes: 72 1
debug3: tty_make_modes: 73 0
debug3: tty_make_modes: 74 0
debug3: tty_make_modes: 75 0
debug3: tty_make_modes: 90 1
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug1: Sending environment.
debug3: Ignored env USER
debug3: Ignored env SESSION_BUS_ADDRESS_FILE
debug3: Ignored env HILDON_FM_OBEX_ROOT
debug3: Ignored env MMC_MOUNTPOINT
debug3: Ignored env OSSO_PRODUCT_REGION
debug3: Ignored env HOME
debug3: Ignored env MYDOCSDIR
debug3: Ignored env OSSO_SWAP
debug3: Ignored env OSSO_VERSION
debug3: Ignored env OSSO_PRODUCT_RELEASE_VERSION
debug3: Ignored env PS1
debug3: Ignored env OSSO_PRODUCT_FULL_NAME
debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
debug3: Ignored env LAUNCHWRAPPER_NICE
debug3: Ignored env DEFAULTMBTHEME
debug3: Ignored env LAUNCHWRAPPER_NICE_TRYRESTART
debug3: Ignored env TMPDIR
debug3: Ignored env LOGNAME
debug3: Ignored env STATESAVEDIR
debug3: Ignored env MALLOC_MMAP_THRESHOLD_
debug3: Ignored env INTERNAL_MMC_MOUNTPOINT
debug3: Ignored env LAUNCHWRAPPER_NICE_KILL
debug3: Ignored env SESSION_BUS_PID_FILE
debug3: Ignored env TERM
debug3: Ignored env GTK2_RC_FILES
debug3: Ignored env LAUNCHWRAPPER
debug3: Ignored env PATH
debug3: Ignored env OSSO_PRODUCT_RELEASE_NAME
debug3: Ignored env DEFAULTGTKTHEME
debug3: Ignored env LAUNCHWRAPPER_TRYRESTART
debug3: Ignored env SDL_AUDIODRIVER
debug3: Ignored env MMC_DEVICE_FILE
debug3: Ignored env DISPLAY
debug3: Ignored env MMC_SWAP_LOCATION
debug1: Sending env LANG = en_GB
debug2: channel 0: request env confirm 0
debug3: Ignored env AF_INIT_DIR
debug3: Ignored env XDG_DATA_HOME
debug3: Ignored env OSSO_PRODUCT_SHORT_NAME
debug1: Sending env LC_MESSAGES = en_GB
debug2: channel 0: request env confirm 0
debug3: Ignored env OSSO_PRODUCT_HARDWARE
debug3: Ignored env MAX_FILENAME_LENGTH
debug3: Ignored env SHELL
debug3: Ignored env MALLOC_CHECK_
debug3: Ignored env AF_DEFINES_SOURCED
debug3: Ignored env DISABLE_GATEWAY
debug3: Ignored env OSSO_PRODUCT_KEYBOARD
debug3: Ignored env OSSO_PRODUCT_WLAN_CHANNEL
debug1: Sending env LC_ALL = en_GB
debug2: channel 0: request env confirm 0
debug3: Ignored env MALLOC_TRIM_THRESHOLD_
debug3: Ignored env PWD
debug3: Ignored env OSSO_PRODUCT_RELEASE_FULL_NAME
debug3: Ignored env ILLEGAL_FAT_CHARS
debug3: Ignored env UPNP_ROOT
debug3: Ignored env INTERNAL_MMC_SWAP_LOCATION
debug3: Ignored env AF_PIDDIR
debug3: Ignored env OSSO_PRODUCT_NAME
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
        #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1)
debug3: channel 0: close_fds r 4 w 5 e 6 c -1
Read from remote host 192.168.0.4: Connection timed out
Connection to 192.168.0.4 closed.
debug1: Transferred: stdin 0, stdout 0, stderr 92 bytes in 935.9 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.1
debug1: Exit status -1


The only thing that occurs to me is that the server says:
  debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384
but the client says:
  debug2: channel 0: open confirm rwindow 0 rmax 32768
Are they supposed to match? If so how do I make that happen?

Martin
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux