Bug 1208633 - sftp fails out of the box with minimial vm
Summary: sftp fails out of the box with minimial vm
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Hans Petter Jansson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 04:05 UTC by William Brown
Modified: 2023-03-14 13:12 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Brown 2023-02-24 04:05:36 UTC
After installing a new tumbleweed minimal vm it is not possible to sftp from the machine. The ssh client states:

subsystem request failed on channel 0
scp: Connection closed

The server logs:

Feb 24 13:56:54 yas-78 sshd[2156]: subsystem request for sftp by user admin failed, subsystem not found

# cat /etc/*release
NAME="openSUSE Tumbleweed"
# VERSION="20230222"

openssh-server-8.9p1-7.2.x86_64
openssh-8.9p1-7.2.x86_64


yas-78:/home/admin # less /usr/etc/ssh/sshd_config
# override default of no subsystems
Subsystem       sftp    /usr/libexec/ssh/sftp-server
Comment 1 William Brown 2023-02-24 04:07:57 UTC
Okay, the issue appears to be that the content of /usr/etc/ssh/sshd_config is *not* being read, meaning that the configuration is missing by default.