In release R80.40 and higher, SFTP access is enabled by default.
For release R80.30 and lower, do the following to enable SFTP access for each user who does not use Clish cli.sh as the default shell:
Log in to Expert mode:
Make a backup of the SSHD configuration file:
[Expert@HostName]# cp /etc/ssh/sshd_config /etc/ssh/sshd_config_ORIGINAL
Edit the SSHD configuration file in the Vi editor:
[Expert@HostName]# vi /etc/ssh/sshd_config
Modify the configuration using one of these two options:
Note: For details, refer to the "sshd_config" manual page, in the "Subsystem" section.
- Save the changes and exit the Vi editor.
Restart the SSHD service:
[Expert@HostName]# /etc/init.d/sshd restart
- Change the default shell of the selected user from Clish to /bin/bash as follows:
From Clish, run:
set user <username> shell /bin/bash
To make the change permanent, run:
- To change the default shell back to CLISH, run "set user <username> shell /etc/cli.sh" from CLISH and make the change permanent by running "save config" from CLISH.
- You must configure an explicit security rule for SSH access to this Gaia computer on the Security Gateway or Gateway cluster. SFTP operates using SSH.
sk52763 - Enabling SCP connectivity on SMB and Branch Office Appliances