Enabling SFTP
This alternative example describes how to enable SFTP access on a Security Gateway using the default “admin” account. Note: a Security Policy must already contain a rule that allows connections via SSH.
1. Connect via command line using the default “admin" account
2. Navigate to expert mode
3. Backup the current /etc/ssh/sshd_config file
cp /etc/ssh/sshd_config /etc/ssh/sshd_config_original
4. Edit the current /etc/ssh/sshd_config file:
vi /etc/ssh/sshd_config
5. Below the sftp line
#Subsystem sftp /usr/libexec/openssh/sftp-server
Add:
Subsystem sftp internal-sftp
6. Save the changes and exit from vi editor.
7. Restart the SSHD daemon
/sbin/service sshd restart
8. Now you can connect with the gateway with an SFTP client using TCP port 22.
Security Solutions Expert for Global Strategic Partners GSI/MSP/Telco & Consultancy Firms