sftp - secure file transfer program - how to transfer files to and from nrs-labs



Similar documents
Connecting to the School of Computing Servers and Transferring Files

Remote Access to Unix Machines

How. to: Connect Remotely. Updated by

Instructions for Accessing the Advanced Computing Facility Supercomputing Cluster at the University of Kansas

HPCC - Hrothgar Getting Started User Guide

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to ITC

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to IROC RI

Introduction to Unix Tutorial

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

WinSCP PuTTY as an alternative to F-Secure July 11, 2006

Editing Locally and Using SFTP: the FileZilla-Sublime-Terminal Flow

SSH and Basic Commands

University of Toronto

MATLAB on EC2 Instructions Guide

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

Access Instructions for United Stationers ECDB (ecommerce Database) 2.0

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Secure Shell. The Protocol

Introductory Note 711 & 811. Remote Access to Computer Science Linux Files Using Secure Shell Protocols

WinSCP for Windows: Using SFTP to upload files to a server

Overview. Remote access and file transfer. SSH clients by platform. Logging in remotely

Export & Backup Guide

There s a variety of software that can be used, but the approach described here uses freely available Cygwin software: (1) Cygwin/X (2) Cygwin/openssh

Week Overview. Running Live Linux Sending from command line scp and sftp utilities

Uploading and Downloading Files to the HIS Server. Application Requirements

Secure File Transfer Protocol User Guide

Using Virtual Machines

Secure File Transfer Protocol User Guide. Date Created: November 10, 2009 Date Updated: April 14, 2014 Version: 1.7

The last page of these notes has the commands for invoking Stata on Linux.

File transfer clients manual File Delivery Services

Lab 1 Beginning C Program

Upgrading Redwood Engine Software. Version 2.0.x to 3.1.0

Creating a Website with MS Publisher

Miami University RedHawk Cluster Connecting to the Cluster Using Windows

How To Download Data From CDTS. Version 2.0

INSTALLATION INSTRUCTIONS FOR THE STUDENT SAMPLE SCHEMA

CASHNet Secure File Transfer Instructions

Tutorial Guide to the IS Unix Service

PROGRAMMING FOR BIOLOGISTS. BIOL 6297 Monday, Wednesday 10 am -12 pm

How to upload large files to a JTAC Case

RETRIEVING NMR DATA JB Stothers NMR Facility Materials Science Addition 0216 Department of Chemistry Western University

SSH Connections MACs the MAC XTerm application can be used to create an ssh connection, no utility is needed.

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

Cloud Server powered by Mac OS X. Getting Started Guide. Cloud Server. powered by Mac OS X. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

NMR Processing on PCs outside the NMR laboratory

SSH Tutorial. A. Andreatos Div. of Computer Engineering & Information Science Hellenic Air Force Academy GREECE gmail.

Linux Connection Guide. by Tristan Findley

2 Advanced Session... Properties 3 Session profile... wizard. 5 Application... preferences. 3 ASCII / Binary... Transfer

Setting Up VNC, SSH Tunnels, and RDP

Installing the SSH Client v3.2.2 For Microsoft Windows

VCL Access. VCL provides access to Linux and Windows 7 Virtual Machines. Users will only see those images that they are authorized to access.

Getting Started with Web Hosting at TechServ

Uploading files to a web server using SSH Secure Shell 3.2.9

WinSCP Tutorial 01/28/09: Y. Liow

SFTP with Fugu for OS X

Please note that a username and password will be made available upon request. These are necessary to transfer files.

Introduction to UNIX and SFTP

Guidance for IA DMM: Connecting Your Computer to FSU Video File Server

QuickNotes for using Tumbleweed, ISO's FTP system.

Accessing your Staff (N and O drive) files from off campus

ICE Futures Europe. MFT Technical Guide for Position Reporting V1.2

Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at:

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

Using SSH Secure FTP Client INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 2.0 Fall 2008.

Using SSH Secure Shell Client for FTP

Creating a Website with Publisher 2013

CPSC 226 Lab Nine Fall 2015

Accessing the FTP Server - User Manual

The Einstein Depot server

Adafruit's Raspberry Pi Lesson 6. Using SSH

How to install and set up the WinSCP software for Secure File Transfer

Oracle Tutorial. Outline: Login to oracle server Create account Use SQL*PLUS Use SQL Developer (recommended)

File Transfer Protocol. What is Anonymous FTP? What is FTP?

Introduction to Mac OS X

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

Using SSH Secure File Transfer to Upload Files to Banner

Uploads from client PC's to mercury are not enabled for security reasons.

Ad Hoc (Temporary) Accounts Instructions

Raspberry Pi Setup Tutorial

Configuring for SFTP March 2013

TS-800. Configuring SSH Client Software in UNIX and Windows Environments for Use with the SFTP Access Method in SAS 9.2, SAS 9.3, and SAS 9.

Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research

Using

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

SSH Secure Client (Telnet & SFTP) Installing & Using SSH Secure Shell for Windows Operation Systems

Make a folder named Lab3. We will be using Unix redirection commands to create several output files in that folder.

Ashgate FTP Web Login

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

HOW TO CONNECT TO FTP.TARGETANALYSIS.COM USING FILEZILLA. Installation

Using WinSCP to Transfer Data with Florida SHOTS

FileZilla for PC and Mac

EBSCO MEDIA FILE TRANSFER SOFTWARE INSTALLATION INSTRUCTIONS

Transcription:

last modified: 2014-01-29 p. 1 CS 111 - useful details The purpose of this handout is to summarize several details you will need for this course: 1. sftp - how to transfer files to and from nrs-labs 2. ssh - how to connect/log on to nrs-labs 3. ~st10/111submit - how to submit course assignments to turn in course assignments......is basically a 2-step process: get your homework file(s) from your to nrs-labs connect/log on to nrs-labs using ssh so that you can run the program ~st10/111submit to submit/turn in those files sftp - secure file transfer program - how to transfer files to and from nrs-labs FIRST: if you are working in a campus lab, you do NOT NEED to use sftp (or Secure Shell Transfer Client or WinSCP or FileZilla, all of which are graphical versions of sftp) -- if you save your files to the U: drive, that IS nrs-labs, and your files are now on nrs-labs, ready for the next ssh part. sftp (secure file transfer program) is used to transfer files between s across a network. It allows you to connect to a remote and transfer files between it and the you connect to from wherever you are on the Internet....from Windows HSU's software download site for the university community,...includes a "graphical" implementations of ssh, WinSCP. (The BSS 313 lab includes a slightly different sftp client -- for that particular version, an introductory tutorial, including screenshots, can be found at: http://sils.unc.edu/it-services/servers/using-ssh ) And, there is an open source version, FileZilla, which has versions for Windows and Mac OS X, available from: https://filezilla-project.org/ For any of these choices of software, use nrs-labs.humboldt.edu as the host, and use your campus username, and your campus password. If WinSCP or FileZilla require a port number, enter a

last modified: 2014-01-29 p. 2 port number of 22. Once you have connected, you can drag files from the left side to the right side to move files from your to nrs-labs, and from the right side to the left side to move files from nrs-labs to your. Note that, in the version of sftp in BSS 313, the little icon that looks like a tiny screen on one of the toolbars will open up an ssh window and log you into nrs-labs if you double-click it while connected to nrs-labs....from Mac OS X or Linux There are graphical ssh/sftp clients for these, too -- for example, those available for Mac OS X from HSU's software download site for the university community: as an open source version, FileZilla, which has versions for Windows and Mac OS X, available from: https://filezilla-project.org/ -- but I tend to just use their command-line versions (which should already be installed on your ). For Mac OS X, you'll want to open a terminal using the Terminal application (under Applications -> Utilities); if you use Linux, you probably already know how to open a terminal window under whatever version you are running. Once you have a terminal window open, life is easier if you go to the directory (using the cd command) where the files are that you want to transfer. Then, type: sftp your_hsu_username@nrs-labs.humboldt.edu substituting your HSU username where indicated. Answer y for yes to agree if it asks you if its really okay to proceed, and type in your HSU campus password when indicated. sftp>...you are now connected to nrs-labs using sftp, and can type sftp commands at this prompt. (Type the enter key to end an sftp command, and note that Unix is case-sensitive.) Here are a few very useful sftp commands: cd directory_name lcd directory_name pwd lpwd ls change to directory directory_name on nrs-labs (local cd) change to directory directory_name on your (local) see the name of the current directory on nrs-labs (local pwd) see the name of the current directory on your (local) list the files in the current directory on nrs-labs

last modified: 2014-01-29 p. 3 lls put file_name get file_name (local ls) list the files in the current directory on your (local) transfer a copy of the file file_name from your to nrs-labs transfer a copy of the file file_name from nrs-labs to your? gives a list of sftp commands, each with a 1-line description quit exit sftp It is good practice to quit (type the command quit or type the ctrl and d keys at the same time) when you are done. ssh - secure shell - how to connect to nrs-labs ssh (secure shell) is used to connect to s across a network. It allows you to log onto a remote Unix and use it from wherever you are on the Internet....from Windows HSU's software download site for the university community,...includes several "graphical" implementations of ssh, including PuTTY and WinSCP. (The BSS 313 lab includes a slightly different ssh client -- for that particular version, an introductory tutorial, including screenshots, can be found at: http://sils.unc.edu/it-services/servers/using-ssh ) For any of these choices of software, use nrs-labs.humboldt.edu as the host, and use your campus username, and your campus password. Some of these may also want a port number -- if so, use a port number of 22. [your_hsu_username@nrs-labs ~]$...you are now logged into nrs-labs, and can type Unix commands at this prompt. (Type the enter key to end a Unix command, and note that Unix is case-sensitive.) It is good practice to logout (type the command logout or type the ctrl and d keys at the same time) when you are done....from Mac OS X or Linux There are graphical ssh/sftp clients for these, too -- for example, those available for Mac OS X from HSU's software download site for the university community:

last modified: 2014-01-29 p. 4 -- but I tend to just use their command-line versions (which should already be installed on your ). For the command-line version already installed in Mac OS X, you'll want to open a terminal using the Terminal application (under Applications -> Utilities); if you use Linux, you probably already know how to open a terminal window under whatever version you are running. Once you have a terminal window open, just type: ssh your_hsu_username@nrs-labs.humboldt.edu substituting your HSU username where indicated. Answer y for yes to agree if it asks you if its really okay to proceed, and type in your HSU campus password when indicated. [your_hsu_username@nrs-labs ~]$...you are now logged into nrs-labs, and can type Unix commands at this prompt. (Type the enter key to end a Unix command, and note that Unix is case-sensitive.) It is good practice to logout (type the command logout or type the ctrl and d keys at the same time) when you are done. ~st10/111submit - how to submit course assignments ~st10/111submit is a small program (a Perl script) in my directory on nrs-labs that I wrote for students to use to submit homework files. Whether you are using Windows, Mac OS X, or Linux: 1. FIRST, you need to transfer the files you wish to submit to nrs-labs. From a campus lab, you can copy them to the U: drive; from elsewhere, you will need to use sftp to do so (as discussed above). It will be easier in the long run if you put them in their own directory on nrs-labs, but in a pinch your home directory will do. It will also be easier if you avoid using blanks in file and directory/folder names -- you'll have to quote such names in Unix commands otherwise. 2. Now, you need to use ssh to log onto nrs-labs (as discussed above). 3. Use the cd command to change to the directory where your files are -- for example, if those files are in your nrs-labs directory/folder this-homework, then: cd this-homework...will change to that directory. The command pwd will tell you the name of the present directory, if you have forgotten, and cd all by itself will take you back to your main, home directory. 4. Make sure that your files are in this directory -- ls will list all of the files in your current directory.

last modified: 2014-01-29 p. 5 5. Now that you are in the directory where the files to submit, are, type: ~st10/111submit...to run the submission program. Give the homework number when asked (in lab, I'll try to remember to tell you what number to use), and when asked if you want to submit all of the appropriate-type files in the current directory, answer y for yes. Make sure that you see the files you hoped to submit listed as having been submitted; don't worry if others were submitted, also, as long as the ones you wanted to submit made it. 6. A copy of what you submitted is stored in a directory named submitted in your current directory. Keep this copy until this work's grade is posted on Moodle. And, remember to logout of your ssh session when you are done.