This article will explain how to enable and disable SFTP.
N/A
SFTP, or Secure File Transfer Protocol, is a network protocol that provides file access, file transfer, and file management functionalities over a reliable data stream. It operates over the SSH (Secure Shell) protocol, ensuring that data is encrypted and secure during transfer. We can use below commands to enable and disable SFTP.[edit system services ssh]
user@host# set sftp-server ---> to enable SFTP
[edit system services ssh]user@host# delete sftp-server ---> to disable sftp
Please refer below article for more details.
https://www.juniper.net/documentation/us/en/software/junos/user-access/topics/topic-map/junos-software-remote-access-overview.html#id-configuring-ssh-service-for-remote-access-to-the-router-or-switch
Remote Access Overview | Junos OS | Juniper Networks