Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring sftp-server

 

SSH File Transfer Protocol (SFTP) is a network protocol that provides file access, file transfer, and file management over any reliable data stream. Starting in Junos OS Release 19.1R1, we have globally disabled the incoming SFTP connections by default and if desired you can globally enable the incoming SFTP connections by configuring the statement sftp-server at the [edit system services ssh] hierarchy level. Prior to Junos OS Release 19.1R1, incoming SFTP connections were globally enabled by default.

Note

Only the incoming SFTP connections are disabled by default. For example, given devices A and B (where device A is running 19.1R1), you cannot connect through SFTP from B to A by default. However, you can connect through SFTP from device B to device A, if you configure sftp-server on device A .

The incoming SFTP connections are disabled by default. To enable the incoming SFTP connections, configure sftp-server:

  1. To enable incoming SFTP connections include the sftp-server statement at the [edit system services ssh] hierarchy level:
  2. Commit the configuration.

    The sftp-server statement is set. Therfore, the incoming SFTP connections are enabled.

Release History Table
Release
Description
Starting in Junos OS Release 19.1R1, we have globally disabled the incoming SFTP connections by default and if desired you can globally enable the incoming SFTP connections by configuring the statement sftp-server at the [edit system services ssh] hierarchy level