I have recently upgraded some systems from leap 15.6 to 16.0, in one of them upgraded using opensuse-migration-tool I detected that the ssh server worked but i was not capable of mounting some dir using sshfs of this server from other computer. I found the problem, sshfs didn’t work and sftp did not work either, the problem was that in my leap 15.6
/etc/ssh/sshd_config has this line
subsystem sftp /usr/lib/ssh/sftp-server
But the sftp server now is not there, but
fernando@Elnath:~> ls /usr/lib/ssh/sftp-server
ls: cannot access '/usr/lib/ssh/sftp-server': No such file or directory
fernando@Elnath:~> ls /usr/libexec/ssh/sftp-server
/usr/libexec/ssh/sftp-server
And the solution is changing the line in /etc/ssh/sshd_config from
/usr/lib/ssh/sftp-server
to
subsystem sftp /usr/libexec/ssh/sftp-server
So i let it there if anyone has the same problem… but checking in other computer I also upgraded i see
fernando@Elnath:~> sftp localhost
(fernando@localhost) Password:
Connected to localhost.
sftp>
So this one works, and wondering why I see there is not /etc/ssh/sshd_config at all. So maybe the problem was caused for and old configuration? Is sshd_config deprecated?
I have had also other issue in all systems I upgraded with the network card, my ehernet devices where all called eth0, upgrading and rebooting let eth0 as the configured device but not working, and another device ens32 not configured, so no network working … and in a remote upgrade is a mess. But if after the upgrade and before rebooting I rename the eth0 device to ens32, when rebooting the network continue working.