Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

SSH File Transfer Protocol – IOT Part 45

By Priya November 20, 2024

In the previous tutorial, it was seen how FTP protocol can be used to update application software on an IoT device. However, FTP protocol has some security concerns as it is vulnerable to several kind of attacks like Brute force attack, FTP bounce attack, Packet capture, Port stealing (guessing the next open port and usurping a legitimate connection), Spoofing attack, Username enumeration etc. Therefore, secure variants of FTP protocols were developed. SSH File Transfer Protocol is one of the secure variants of the FTP protocol.

Symbol of SSH File Transfer Protocol (SFTP)

Fig. 1: Symbol of SSH File Transfer Protocol (SFTP)

SSH File Transfer Protocol / Secure File Transfer Protocol (SFTP) was designed for file access, transfer and management over a reliable and secure data stream. It was designed by Internet Taskforce (IETF) to provide secure file transfer capability. Later on, IETF stated that it was designed as an extension to SSH (Secure shell) for transferring the files over a secure connection using TLS.
Why need SFTP – 
The FTP was used to transfer files but not over a secure channel, So SFTP was developed. It is not likely a FTP protocol over SSH, it is a new protocol which supports many file operations over network. It gives easy but safe access to files over remote connection. It can also be used like SSH-1 and SSH-2.
SFTP Features –
SFTP comes with many advantages over FTP like
1. Resume interrupted file transfers
2. Remote file removal
3. Directory listing
4. File management on the server
5. Platform Independence
6. Upload stamp i.e. Uploaded files may be associated with their basic attributes, such as time stamps. This is an advantage over the common FTP protocol.
SFTP Software –
Like any other protocol, SFTP is also based on client server model, So, there are some server-client software required for implementation of the protocol.
SFTP Client – The client is a command line based software where a user can use traditional tools like secure shell and PUTTY but that totally depends on what the server supports.
Some commonly used SFTP client programs are as follow –
1) WinSCP: It is free and open source SFTP GUI client. Despite its name it’s not limited to SCP, but works with SFTP and FTP/SSL too.
2) Filezilla Client: It is free and open source FTP, FTP/SSL and SFTP GUI client (beware of adware).
3) Bitvise SSH Client: It is a SSH tunneling, SSH terminal emulation and SFTP client. It is available as commercial application.
4) JSCAPEAny Client: It is a Web-based SFTP/FTP/FTPS/WebDAV/S3 client. It is available as commercial application.
SFTP Server – SFTP servers can be implemented on Linux based machines. Some FTP and SSH Server implementation provides SFTP implementation along with their installation and share default port 22 with other SSH services.
Some popular SFTP server tools are as follow –
1) OpenSSH: This is the most widely used SFTP/SSH server on the planet. It is perfect for Linux or *BSD but not so great on Windows. It is an open source tool.
2) Bitvise SSH Server: It is a SFTP/SSH server for Windows.
3) Tectia SSH Server: It is an Enterprise SFTP/SSH server from the creators of the SSH protocol.
4) CrushFTP: It is a file transfer server with support for SFTP, SCP, FTPS and HTTPS.
SFTP Proxy – Handling the SFTP traffic over traditional proxies is ineffective for controlling SFTP traffic. There is slandered tool for SFTP proxies that are like “TIS fwtk” or “SUSE FTP proxy”.
Development with SFTP – 
Client and server libraries for SFTP are written in popular programming languages like, C/C++, .net, java and python. So, developing an application with SFTP is easy and has many resources.
In the next tutorial, learn to design an Online Hotel Order Management System using MQTT protocol.

Filed Under: IoT tutorials, Tutorials

 

Next Article

← Previous Article
Next Article →

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Voltage mode pushpull is a nonsense SMPS?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe