Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[MX] sftp server fails with "subsystem request for sftp by user failed, subsystem not found"

0

0

Article ID: KB36518 KB Last Updated: 09 Mar 2021Version: 2.0
Summary:
 

Users may find that the sftp server fails with the subsystem request for sftp by user <x> failed, subsystem not found error after upgrading their devices to run Junos OS release 19.1+.

This article confirms that the error is seen because incoming SFTP connections have been disabled globally by default starting in Junos OS Release 19.1R1.

 

Symptoms:
 

The following error is seen after the device is upgraded to Junos OS release 19.1+.

Feb  8 10:06:13  mx2010-re0 sshd[83912]: Accepted keyboard-interactive/pam for sftp-user from 10.85.175.182 port 54617 ssh2
Feb  8 10:06:13  mx2010-re0 sshd[83915]: subsystem request for sftp by user sftp-user failed, subsystem not found​

 

Cause:
 

Starting in Junos OS Release 19.1R1, incoming SFTP connections have been disabled globally by default.

Prior to Junos OS Release 19.1R1, incoming SFTP connections were globally enabled by default (enabled SSH: set system services ssh).

 

Solution:
 

To globally enable the incoming SFTP connections, configure the sftp-server statement at the [edit system services ssh] hierarchy level in devices running Junos OS release 19.1+.

 # set system services ssh sftp-server

To configure sftp-server in Junos OS Release 19.1+, refer to Configuring sftp-server.

 

Modification History:
 

2021-03-09: Technical documentation reference link added

 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search