Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
I am using NextcloudPi vanilla 1.53.0 and I encountered strange problems with SSH.
I found it takes so long to SSH my RaspberryPi now, I tried with -vv and here is what I got (I replaced my real IP with 11.11.11.11) :
charles@11.11.11.11's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to 11.11.11.11 ([11.11.11.11]:22).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
### And here it stucks for 1 to 2 minutes ###
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LANG = en_GB.UTF-8
debug2: channel 0: request env confirm 0
debug2: channel 0: request shell confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
### Shell appears ###
Is this the first time you’ve seen this error? (Y/N): No.
As a matter of fact, I tried to burn a new NextcloudPi 1.53.0 on my SD card and the problem persists.
Steps to replicate it:
- Download the NCP 1.53.0 zip package from Releases · nextcloud/nextcloudpi · GitHub .
- Burn it to an empty SD card using RaspberryPi Imager, and in its “custom settings” set your account name & passwd and check the Enable SSH box.
- Insert the card to RaspberryPi and power it on, try to connect it via SSH.
I tried journalctl -r
and the result makes me confused: it shows nothing suspicious.
This is the record of what happened when I tried to self-SSH the Rasp-Pi using established SSH from my PC.
Jan 20 20:47:50 raspberry-pi sshd[2960]: Starting session: shell on pts/2 for charles from 11.11.11.11 port 34030 id 0
Jan 20 20:47:50 raspberry-pi sshd[2911]: User child is on pid 2960
Jan 20 20:45:40 raspberry-pi systemd-logind[445]: New session 11 of user charles.
Jan 20 20:45:40 raspberry-pi systemd[1]: Started Session 11 of user charles.
Jan 20 20:45:40 raspberry-pi sshd[2911]: pam_unix(sshd:session): session opened for user charles(uid=1000) by (uid=0)
Jan 20 20:45:40 raspberry-pi sshd[2911]: Accepted password for charles from 11.11.11.11 port 34030 ssh2
Jan 20 20:45:33 raspberry-pi sshd[2911]: Connection from 11.11.11.11 port 34030 on 11.11.11.11 port 22 rdomain ""
As you can see there is a 1 minute delay.
For this happens on a system with Nextcloud NOT activated, I did not check NC logs. I did not modify any part of the system after powered on, either.
I would really appreciate it if anyone could look into this and give me a hint on what I should do next.
P.S.: This is my first time on this forum and I am not a native English speaker. Please let me know if there’s anything confusing about my expressions or any further information is needed.