Support Support Downloads Knowledge Base Juniper Support Portal 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

[Junos Space] How to enable SFTP service

0

0

Article ID: KB31902 KB Last Updated: 29 Jun 2017Version: 1.0
Summary:

By default, Junos Space comes with SFTP Daemon service disabled. This article explains how to enable the service.

Cause:
By default, the SFTP Daemon service is disabled in Junos Space.
Solution:

To enable the SFTP service, follow these instructions.

  1. Edit the ssh configuration file. The file is found at:
    /etc/ssh/sshd_config

    In older Junos Space releases, the path to the service binary must be tweaked too, apart from un-commenting the service enabling line  : 

    # Subsystem           sftp                   /usr/libexec/openssh/openssh/sftp-server

    In newer Junos Space releases, the path to the service is correct. It is only necessary to un-comment the ​service enabling line:

    # Subsystem           sftp                   /usr/libexec/openssh/sftp-server

    For all releases, the service configuration file line should look like this after modification:

    # Subsystem           sftp                  /usr/libexec/openssh/sftp-server
  2. Restart the SSHD daemon from the command line:

    # service sshd restart

Any failed SFTP sessions  should be restarted.

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