At first, I was unable to connect to 192.168.2.15 on my Xperia 10 V:
phk@Alpha15-A3DDK:~$ ssh -v -l defaultuser 192.168.2.15
OpenSSH_9.6p1 Ubuntu-3ubuntu13.5, OpenSSL 3.0.13 30 Jan 2024
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 192.168.2.15 [192.168.2.15] port 22.
Waiting forever nothing happened.
Then In developper tools, I toggle off and on remote connection, unplug and replug the cable and select again usb developper mode and finally ssh connection succeeded.
(Usually I establish ssh connection through wifi with the WLAN IP address).