Use SFTP to transfer files (2024)

On this page:

  • Overview
  • IU hostnames
  • Graphical SFTP clients
  • Command-line SFTP

Overview

The SSH File Transfer Protocol (SFTP), also known as the Secure File Transfer Protocol, enables secure file transfer capabilities between networked hosts. Unlike the Secure Copy Protocol (SCP), SFTP additionally provides remote file system management functionality, allowing applications to resume interrupted file transfers, list the contents of remote directories, and delete remote files.

The command-line secure file transfer program (sftp) and graphical SFTP clients, such as WinSCP and Fetch, use SSH2 encryption to authenticate and establish secure channels between networked hosts. Although SFTP clients are functionally similar to FTP clients, they employ different protocols; consequently, you cannot use a standard FTP client to connect to an SFTP server.

IU hostnames

Note:

Two-factor authentication using Two-Step Login (Duo) is required for access to the login nodes on IU research supercomputers, and for SCP and SFTP file transfers to those systems. SSH public key authentication remains an option for researchers who submit the "SSH public key authentication to HPS systems" agreement, in which you agree to set a passphrase on your private key when you generate your key pair. If you have questions about how two-factor authentication may impact your workflows, contact the UITS Research Applications and Deep Learning team. For help, see Get started with Two-Step Login (Duo) at IU and Help for Two-Step Login (Duo).

At Indiana University, specify the following hostnames for SFTP file transfers involving these UITS resources (authenticate using your IU username and passphrase):

System Hostname
Big Red 200bigred200.uits.iu.edu
Quartzquartz.uits.iu.edu
Scholarly Data Archive (SDA)sftp.sdarchive.iu.edu
Sitehost ssh.sitehost.iu.edu
Pages ssh-pages.iu.edu

Graphical SFTP clients

Graphical SFTP clients simplify file transfers by allowing you to drag and drop icons from one window to another. Each icon represents a file or directory, and each window represents a computer's file system. When you open the program, you specify the name of the remote host to which you want to connect, and then authenticate with your username and password for that host.

Students, faculty, and staff can use two graphical SFTP clients, CyberDuck (for macOS) and WinSCP (for Windows), available for free download. Both applications are also available for use on the computers in the IU Bloomington and IU Indianapolis Student Technology Centers (STCs). Additionally, WinSCP is available for use on personal Windows workstations via IUanyWare.

Command-line SFTP

You can use command-line SFTP on systems running Linux, or from the macOS Terminal. To start an SFTP session, at the shell prompt, enter:

sftp username@hostname

For example, if your username is darvader, to connect to your account on the host deathstar.empire.gov, enter:

sftp [email protected]

Enter your password when prompted.

Some standard command-line SFTP commands include:

Command Function
cd Change the directory on the remote host.
chmod Change the permissions of files on the remote host.
chown Change the owner of files on the remote host.
exit (or quit)Close the connection to the remote host, and exit SFTP.
get Copy a file from the remote host to the local computer.
help (or ?) Get help on the use of SFTP commands.
lcd Change the directory on the local computer.
lls List the contents of the current directory on the local computer.
lmkdir Create a directory on the local computer.
ln (or symlink) Create a symbolic link for a file on the remote host.
lpwd Show the present working directory on the local computer.
ls (or dir) List the contents of the current directory on the remote host.
lumask Change the local umask value.
mkdir Create a directory on the remote host.
put Copy a file from the local computer to the remote host.
pwd Show the present working directory on the remote host.
rename Rename a file on the remote host.
rm Delete a file on the remote host.
rmdir Remove a directory on the remote host (the directory usually has to be empty).
version Display the SFTP version.
! Pop out to the shell prompt to enter other commands. To return to SFTP, enter exit. If you combine ! with a command (for example, !pwd), SFTP executes the command without popping you out to the shell prompt.

Related documents

SFTP clients recommended for use at IURecommended tools for encrypting data containing HIPAA-regulated PHI

This is document akqg in the Knowledge Base.
Last modified on 2024-05-08 14:31:19.

Use SFTP to transfer files (2024)
Top Articles
How to open firewall port on Windows 10 - Pureinfotech
ABS Vs PBT Keycaps - What Are The Main Differences?
Navicent Human Resources Phone Number
Where To Go After Howling Pit Code Vein
Craigslist Free En Dallas Tx
Stretchmark Camouflage Highland Park
craigslist: kenosha-racine jobs, apartments, for sale, services, community, and events
How Much Does Dr Pol Charge To Deliver A Calf
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
360 Training Alcohol Final Exam Answers
Owatc Canvas
Wal-Mart 140 Supercenter Products
10000 Divided By 5
Lesson 1 Homework 5.5 Answer Key
Southland Goldendoodles
Uc Santa Cruz Events
How To Delete Bravodate Account
The fabulous trio of the Miller sisters
Nalley Tartar Sauce
Lake Nockamixon Fishing Report
Velocity. The Revolutionary Way to Measure in Scrum
Swgoh Turn Meter Reduction Teams
Erica Banks Net Worth | Boyfriend
Dallas Craigslist Org Dallas
Ppm Claims Amynta
Hefkervelt Blog
Roanoke Skipthegames Com
Arlington Museum of Art to show shining, shimmering, splendid costumes from Disney Archives
Schooology Fcps
Our 10 Best Selfcleaningcatlitterbox in the US - September 2024
Ugly Daughter From Grown Ups
Pipa Mountain Hot Pot渝味晓宇重庆老火锅 Menu
Pensacola 311 Citizen Support | City of Pensacola, Florida Official Website
The Vélodrome d'Hiver (Vél d'Hiv) Roundup
Pinellas Fire Active Calls
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
Convenient Care Palmer Ma
Cranston Sewer Tax
Qlima© Petroleumofen Elektronischer Laserofen SRE 9046 TC mit 4,7 KW CO2 Wächter • EUR 425,95
Anguilla Forum Tripadvisor
The Horn Of Plenty Figgerits
This Doctor Was Vilified After Contracting Ebola. Now He Sees History Repeating Itself With Coronavirus
The Many Faces of the Craigslist Killer
Www Pig11 Net
Yosemite Sam Hood Ornament
Congruent Triangles Coloring Activity Dinosaur Answer Key
Julies Freebies Instant Win
Zadruga Elita 7 Live - Zadruga Elita 8 Uživo HD Emitirani Sat Putem Interneta
Hsi Delphi Forum
Estes4Me Payroll
Best brow shaping and sculpting specialists near me in Toronto | Fresha
Obituary Roger Schaefer Update 2020
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 5628

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.