My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.1.6
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: Custom /etc/ssh/sshd_config
Description of my issue
I am trying to customize my_webapp configuration in order to access it via SSH (by default, it is limited to SFTP), because I need to use rsync, which works via SSH only.
I customized the SSH configuration as the link above displays, especially by following the instructions this thread provides:
Still, when I try to log in, I get this error:
$ ssh -p CUSTOMPORT my_webapp@tommi.space
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/tommi/.ssh/config
debug1: /Users/tommi/.ssh/config line 1: Applying options for *
debug1: /Users/tommi/.ssh/config line 6: Applying options for tommi.space
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to tommi.space port 50002.
debug1: Connection established.
debug1: identity file /Users/tommi/.ssh/id_ed25519 type 3
debug1: identity file /Users/tommi/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4p1 Debian-5+deb11u1
debug1: compat_banner: match: OpenSSH_8.4p1 Debian-5+deb11u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to tommi.space:50002 as 'my_webapp'
debug1: load_hostkeys: fopen /Users/tommi/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:**************HIDDEN***************
debug1: load_hostkeys: fopen /Users/tommi/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '[tommi.space]:50002' is known and matches the ED25519 host key.
debug1: Found key in /Users/tommi/.ssh/known_hosts:6
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/tommi/.ssh/id_ed25519 ED25519 SHA256:**************HIDDEN*************** explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>
debug1: SSH2_MSG_SERVICE_ACCEPT received
#=================================#
# #
# XPLOSION SERVER #
# #
#=================================#
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/tommi/.ssh/id_ed25519 ED25519 SHA256:**************HIDDEN*************** explicit
debug1: Server accepts key: /Users/tommi/.ssh/id_ed25519 ED25519 SHA256:**************HIDDEN*************** explicit
Authenticated to tommi.space ([89.117.52.178]:50002) using "publickey".
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: filesystem
client_loop: send disconnect: Broken pipe
Why does this happen? I can connect to my main server account with no problems.