Description

This article describes configuring Junos OS to allow secure file transfers via the SFTP protocol, ensuring you can manage and transfer files efficiently over a network.

Solution

To securely transfer files over the network using SFTP follow the below steps:

 

  • Enable the SSH Service:

If SSH is not already enabled, you can enable it by entering the following command:

 

set system services ssh

 

  • Enable the SFTP Server:

To enable the SFTP server, run this command:

 

set system services ssh sftp-server

 

  • After enabling the service, commit the configuration to apply the changes.

commit

 

  • Verify the Configuration:

To verify that SSH and SFTP are correctly configured, you can run the following command:

show system services ssh


Modification History

2025-03-24 : Article Created