Transcript Slide 1

SFTP
Secure File Transfer
Protocol
7/17/2015
1
Agenda






What is SFTP?
How does it work?
Types of SFTP
Downloading a Client
Accessing the SUN System
Transferring files
7/17/2015
2
Vocabulary






Protocol - a set of rules that govern how information is exchanged
FTP – File Transfer Protocol; transfers files between computers.
Runs on Port 21. Not Secure. (NOT available after 10-1-2008)
SFTP – Secure File Transfer Protocol; same as FTP but files are
encrypted on the line. Runs on Port 22. Secure. (available after 101-2008)
scp- Secure copy. Secure. Runs on Port 22.
Client – The machine generating the request (local machine)
Server – The machine ready and willing to process the request
(remote machine)
7/17/2015
3
What is SFTP?

Its main function is the secure file
transfer between a local and a remote
computer. It uses Secure Shell (SSH)
• Secure Shell or SSH is a network protocol
•
that allows data to be exchanged using a
secure channel between two networked
devices
The encryption used by SSH provides
confidentiality and integrity of data
How does SFTP work?


Software on one computer talks to
software on another computer
Files encrypted for secure transfer of
data from one computer to the other
••
ê•
>µ\å¢Qow]Š%}•
>_ï K¡‚|¬½ãH[ÇQ„jcä6”Deƒö
XnYÁT÷ pÃ
^j ºö B^ÈŒèá
Íÿ ”FBñJ1@¥VÊ4j’?Ày4!âa!h
þç½ 6T\W(<2¥Øå¬"¡^4œW“Z
TŒé!<2þ¶‘
S ÛÀ~T ð/«´ÇÇAZóÑŠ *1Hò@€œ—
Iâ4MÐTÑã¡I
7/17/2015
5
Types of Windows SFTP clients

Examples of versions available:
• http://www.freesshd.com/
• http://www.winscp.net/

Which one should you use?
• Any client that you prefer
• Keep in mind not all are free

Which will be demonstrated today?
• WinSCP
Downloading the Software

Go to:
http://www.winscp.net/eng/download.php
• Click on the installation package for WinSCP
4.1.7 and follow the prompts on the
installation wizard
Downloading Software (cont’d)

You may see a screen like this:

If so, click on the yellow bar across the
top.
• A popup will appear, click on Download File
Downloading (Cont’d)

Click on Run to Install it
Setup Wizard
Typical Installation
Choose Interface



Norton Commander displays both file systems in the same window
Explorer like displays remote file system only
Can change it later
Norton Commander – like
Interface
Explorer-like Interface
Install
Finish
Accessing



Startup WinSCP
The first time, you will see this screen
You will probably want to answer “yes” to
this so you don’t see this message again.
Accessing (Cont’d)

How do we find the SFTP address (host name)?
•
•
•
Go to the State website
Look at address bar in IE
• Ex: http://172.19.13.10 This is the host name (IP address)
Enter host name, your username and password
• Click on Login
7/17/2015
18
Save default directories
(Folders)
Transferring files

Files transferred
•
•

•
•
PC or E-mail attachment (saved in a PC directory)
CD
To
•
Designated Directory (SUN System)
Or
•
•

From
From
•
SUN System
To
•
•
PC
Shared network drive
How
•
•
Open Folder
Click, hold, drag, drop
Unemployment Insurance Reports
(UIR)
581data.txt

From

To
• PC
• /home/logname
Data Validation (DV)
population3.txt

Extract files
• From
• CD
• E-mail saved to PC
• Shared drive

To
• /opt/dv/data
• ../../opt/dv/data
Benefit Accuracy Measurement
(BAM)
bamdata.txt

From

To
• /home/logname
• PC
Review






Secure File Transfer Protocol (SFTP) is used to transfer files securely
between computers; WinSCP
SFTP server requires authorized access, encrypted transfer
Files are moved by dragging and dropping from a PC to a designated
directory (SUN System), or from the SUN System to a PC
Examples given for BAM, DV, and UIR
Notify your SUN System Administrator with any problems
Network has to allow traffic on Port 22
7/17/2015
24