📖 What is Secure File Transfer Protocol (SFTP)?
Secure File Transfer Protocol (SFTP) is a network protocol that provides file access, transfer, and management over any reliable data stream. It leverages SSH to provide a secure, encrypted connection for transferring files between a client and server.
"Be careful not to confuse SFTP with FTPS. SFTP uses SSH for encryption, while FTPS uses SSL/TLS."
📚 Certification: CompTIA Network+ Certification Exam (N10-009)
🔑 What are the Key Concepts of Secure File Transfer Protocol (SFTP)?
- ▸ SFTP operates entirely over a single SSH session, ensuring that both authentication credentials and the transferred data are fully encrypted.
- ▸ By default, SFTP utilizes TCP port 22, simplifying firewall management by requiring only one open port for both control and data.
- ▸ Unlike FTP, SFTP uses a single connection for all operations, eliminating the need for separate active or passive data channels.
- ▸ It supports robust authentication methods, including password-based login and SSH public key authentication for secure, passwordless automated transfers.
- ▸ SFTP provides full file system management capabilities, allowing users to securely create, delete, rename, and list directories on the remote server.
🎯 How does Secure File Transfer Protocol (SFTP) appear on the N10-009 Exam?
You may be asked to identify the best protocol for transferring sensitive files to a remote server while minimizing the number of open firewall ports.
A scenario might describe a requirement for encrypted file transfers that avoid the connectivity issues associated with FTP's active and passive modes.
Expect questions where you must distinguish between SFTP and FTPS based on whether the underlying encryption is provided by SSH or SSL/TLS.
❓ Frequently Asked Questions
Why is SFTP often preferred over FTPS in enterprise environments?
SFTP is significantly easier to manage through firewalls because it only requires a single port (TCP 22) to be open, whereas FTPS requires a range of ports for data channels.
Does SFTP support the same 'Active' and 'Passive' modes as FTP?
No, SFTP does not use active or passive modes. Because it runs over a single SSH connection, it avoids the common NAT and firewall traversal issues found in FTP.