Remote Access to Unix Machines



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

RSA SecurID Token User Guide February 12, 2015

Contents. This document contains the following sections:

VHA Innovations Program Future Technology Laboratory. Linux Workstation Remote Desktop Connection Manual

SSH and Basic Commands

Upgrading Redwood Engine Software. Version 2.0.x to 3.1.0

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Using Virtual Machines

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

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

Installing the SSH Client v3.2.2 For Microsoft Windows

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

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

2. The application will appear in the Applications folder. Once installed, launch Microsoft Remote Desktop from the Applications folder on your Mac.

Raspberry Pi Setup Tutorial

How to use SURA in three simple steps:

Download and Install the Citrix Receiver for Mac/Linux

IDS and Penetration Testing Lab II

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

MATLAB on EC2 Instructions Guide

The Einstein Depot server

Getting the most out of your new Aalto workstation An Aalto IT guide for personnel migrating to the new Aalto workstation environment

Connecting to the School of Computing Servers and Transferring Files

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

How. to: Connect Remotely. Updated by

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

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

How to FTP (How to upload files on a web-server)

Installing and Configuring Remote Desktop Connection Client for Mac

University of Toronto

Using SSH Secure Shell Client for FTP

There are many different ways in which we can connect to a remote machine over the Internet. These include (but are not limited to):

Linux Connection Guide. by Tristan Findley

Adafruit's Raspberry Pi Lesson 6. Using SSH

Tera Term Telnet. Introduction

How to Use Remote Desktop over a Secure Connection (SSH)

Hallpass Instructions for Connecting to Mac with a Mac

Accessing the FTP Server - User Manual

Using SSH Secure File Transfer to Upload Files to Banner

Using Remote Desktop with the Cisco AnyConnect VPN Client in Windows Vista

Installing the Virtual Desktop Application (MAC)

How to Backup XenServer VM with VirtualIQ

Laboration 3 - Administration

Remote Access: Internet Explorer

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

UMass Amherst Secure Access Service Juniper and Junos VPN

VPN AND CITRIX INSTALLATION GUIDE

Getting Started with Fugu For the Macintosh Author Kevin Urasaki

USERS GUIDE. How to acquire an Associate Digital Identity Certificates from the ica Identity Authority and Configure MAS

FEEG Applied Programming 6 - Working Remotely on Linux Server

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

Stealth OpenVPN and SSH Tunneling Over HTTPS

Cadence Verilog Tutorial Windows Vista with Cygwin X Emulation

Remote Access Using The New York Eye & Ear Infirmary of Mount Sinai Secure Web VPN

UW Computer Science and Engineering Starting UNIX X Clients From Windows XP. revised September Warren Jessop

Setting Up VNC, SSH Tunnels, and RDP

IIS, FTP Server and Windows

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

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

SHC Client Remote Access User Guide for Citrix & F5 VPN Edge Client

UOG User Guide. Windows

CASHNet Secure File Transfer Instructions

Setting Up a Dreamweaver Site Definition for OIT s Web Hosting Server

Creating a Website with MS Publisher

How to Use Office of Information Technology (865)

Remote Access: Citrix Client Setup

File transfer clients manual File Delivery Services

Windows and MAC User Handbook Remote and Secure Connection Version /19/2013. User Handbook

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

University of Wisconsin System Shared Financial System (SFS) PeopleTools 8.53 Client Setup Guide

Portal Instructions for Mac

Getting Started with Oracle Data Mining on the Cloud

KSC Remote Access Solution

Remote Desktop In OpenSUSE 10.3

DSI File Server Client Documentation

Tutorial Guide to the IS Unix Service

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

Mac OS X: INSTALLING TUNNELBLICK

Shellshock Security Patch for X86

Chapter 11 Web Development: Importing Gifs and Backgrounds

Remote Desktop Administration

Instructions for using VPN and accessing your files remotely

Configuring a Windows 2003 Server for IAS

Allianz Global Investors Remote Access Guide

Phone: Fax: Box: 230

Remote Access End User Reference Guide for F5 Edge VPN Client Access

Install and configure SSH server

Citrix XenApp 6.5 User Guide. For Windows and OS X

WORKING WITH WINDOWS FIREWALL IN WINDOWS 7

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

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

TELECOMMUNICATIONS REQUIREMENTS FOR TRANSMITTING ELECTRONIC DATA FILES ADMINISTRATIVE SERVICES OF KANSAS

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

UBC Digital Signage Service: CoolSign 5.0 Initial Set- up Guide

Virtual Owl. Guide for Windows. University Information Technology Services. Training, Outreach, Learning Technologies & Video Production

Remote Administration

How to Tunnel Remote Desktop Through SSH on a Windows Computer

How to use FTP Commander

How to connect to the University of Exeter VPN service

This manual provides information and instructions for Mac SharePoint Users at Fermilab. Using Sharepoint from a Mac: Terminal Server Instructions

Transcription:

Remote Access to Unix Machines Alvin R. Lebeck Department of Computer Science Department of Electrical and Computer Engineering Duke University Overview We are using OIT Linux machines for some homework this semester. Therefore, you need to ensure your account is activated, that you can remotely access the machines, and that you become familiar with using Linux to create files, move around the directory (folder) structure, etc. This tutorial is aimed at getting you up to speed on these aspects before the semester starts, so you can hit the ground running. Machine Names The machines we will use are named teer<##>.oit.duke.edu (where <##> is 01-45) and are accessible either by directly logging into the machines in the Teer building, or more commonly using remote access (see below). The machine names are teer01.oit.duke.edu, teer02.oit.duke.edu, teer45.oit.duke.edu. Note that the machines 1-9 require the leading 0. Remote Access to Machines A convenient way to access a linux machine is remotely over the Internet. The main item necessary for this is a secure shell client, but we will also utilize X- windows so we can run programs with graphical interfaces (GUIs). I use teer23.oit.duke.edu as the machine for my examples, however you can use any of the machines. Occasionally the machine you try will not respond, do not panic if this occurs, simply try another machine. MAC OS 1. Download and install Xquartz from http://xquartz.macosforge.org. 2. Logout of your MAC 3. Login to your MAC X- windows is now ready for use on your MAC. Next up is the secure shell client, on a MAC this is easy since it has a shell built in via the Terminal Application. 4. Open the Terminal App. You can find Terminal in the Applications/Utilities folder or by searching in Spotlight for Terminal.

5. At the command prompt type ssh X netid@teer23.oit.duke.edu where netid is your Duke netid. This command initiates a secure shell connection to the machine teer23.oit.duke.edu. You can pick any of the 45 teer machines. If this is the first connection that you ve made to teer23.oit.duke.edu, you will receive a warning about the authenticity of the host and RSA key fingerprint. This is expected behavior for first- time connections. If you typed the machine name correctly, you can just type yes and the appropriate information will be added to your local machine, and you shouldn t see the error again on subsequent connections to this same machine. 6. Enter your password. Note the characters you type are not displayed on your screen, neither are any *** corresponding to the characters. So, if login fails you may have to try again.

Ta- dah! You are now successfully connected to a remote machine over the Internet. Goto the At the remote machine command prompt section after the Windows information below. Windows 1. Download and install x- win32 from the OIT software website at https://oit.duke.edu/comp- print/software/license/detail.php?id=119 2. You should be sure to download the latest version and follow the instructions in the PDF for licensing. If you want to use X- Win from off campus you should use the Activation License not the License Server. 3. Download and install PuTTY from the OIT software website at https://oit.duke.edu/comp- print/software/license/detail.php?id=7 a. PuTTY is also available at http://www.chiark.greenend.org.uk/~sgtatham/putty/, you can look at the Docs section of that website for more detailed information. 4. Start x- win32 (i.e., run the program) 5. Open a PuTTY terminal window a. First time use you should get a configuration screen. For Host Name put in teer23.oit.duke.edu or some other random teer machine. b. Connection type should be SSH and Port should be 22. c. Go to Connection category open the SSH option and click X11, ensure the check box next to X11 forwarding is checked.

6. Sessions: You can save sessions for subsequent use by giving it a name and saving the session. Then you can later reload the session by selecting it and clicking load. a. You can adjust various options for a session (e.g., screen color, etc) and save the session 7. Click Open to start the PuTTY session. This will open a Terminal window and prompt you for your netid (i.e., login as:). 8. Type your Duke netid 9. Type your password. Note the characters you type are not displayed on your screen, neither are any *** corresponding to the characters. So, if login fails you may have to try again. Ta- dah! You are now successfully connected to a remote machine over the Internet. Linux If you are using Linux then you probably don t need these instructions, but just in case Simply start at step 4 of the Mac instructions. 1. Open a Terminal 2. Type SSH X netid@teer23.oit.duke.edu at the prompt At the remote machine command prompt You now have a terminal session that is connected to teer23.oit.duke.edu. You should see a command prompt that is something like [netid@teer23 ~]$ with a blinking cursor after the $. Note that you may have a slightly different prompt, e.g., with a > or % instead of the $, not a big deal look for the blinking cursor. 1. Type date at this prompt, this is a unix command to display today s date, as shown below (I did this in August 2013).

2. Type xterm at the prompt. This should open a window on your machine s screen that gives you another terminal on the remote machine. If this fails, you ve done something wrong in setting up X- windows, please review the steps above according to your operating system. [alvy@teer23 ~]$ xterm

3. Click in the xterm window to activate it. Close the new xterm window by typing exit at the prompt ([alvy@teer23 ~]$ exit) within the xterm window or by clicking the x button of the xterm window. 4. Background jobs are often useful since they allow you to use multiple windows simultaneously. For example, let s say you want to have two xterms running and use both along with the original session window. To achieve this you can type: [alvy@teer23 ~]$ xterm& [alvy@teer23 ~]$ xterm& The & tells unix to run the specified program in the background (in this case it is xterm). Now you can click around and type date in each of the three windows 5. Close the two xterm windows (type exit in them or click the close button). 6. Type logout at the prompt in your initial session window to end the SSH connection and disconnect from the remote machine ([alvy@teer23 ~]$ logout). Unix Tutorial You are now ready to go through the Unix tutorial available at http://www.cs.duke.edu/~alvy/courses/unixtut.