Remote Access to Unix Machines

Similar documents
First-Time Login Procedure on XWin32

User Guide Version 2.0

You can use the WinSCP program to load or copy (FTP) files from your computer onto the Codd server.

Author A.Kishore/Sachin WinSCP

Accuterm 7 Usage Guide

Introduction to Linux Workshop 2. The George Washington University SEAS Computing Facility

Remote Access to Matlab at Mason. CDS-130: Computing for Scientists. Spring Jie Zhang

Firewalls can prevent access to the Unix Servers. Please make sure any firewall software or hardware allows access through Port 22.

WinSCP. Author A.Kishore/Sachin

Read Naturally SE Update Windows Network Installation Instructions

STRS OHIO Telework F5 BIG-IP Edge Client for Mac Systems (Imac, Air, Macbook, Mini) User Guide

Using the Zoo Workstations

Workshop on Genomics 2018

PeopleSoft Financials for Macintosh

CMSC 201 Spring 2017 Lab 01 Hello World

WEWORK PRINTER INSTRUCTIONS FOR PAPERCUT. Installing Papercut and Printers for Mac OSX Printing Retrieving Your Prints Frequently Asked Questions

Connecting to Grace and using Stata from an Xinteractive perspective

ECE112 - Lab 6. Purpose. Parts/tools needed: Make sure we have a properly working environment

CS 1301 Fall 2008 Lab 2 Introduction to UNIX

Remote Access Instructions. remote.gpmlaw.com

Key File Generation. November 14, NATIONAL STUDENT CLEARINGHOUSE 2300 Dulles Station Blvd., Suite 220, Herndon, VA 20171

Once you have installed MobaXterm, open MobaXterm. Go to Sessions -> New Session, and click on the SSH icon.

Job Aid: Citrix Receiver Upgrade

CMSC 201 Spring 2018 Lab 01 Hello World

Graphical Access to IU's Supercomputers with Karst Desktop Beta

Printer Setup Instructions

Telnet/SSH. Connecting to Hosts. Internet Technology 1

owncloud Android App Manual

File Transfer with SSH

Operating System Interaction via bash

Using Blackboard Drive to upload/manage content in Blackboard Learn

Step 1: Adding Darwin to your computer

Lab 1: Accessing the Linux Operating System Spring 2009

Filesharing. Jason Healy, Director of Networks and Systems

Web Intelligence Rich Client Getting Started Business Objects 4.1

LAB #5 Intro to Linux and Python on ENGR

The Command Shell. Fundamentals of Computer Science

Tutorial 1: Unix Basics

NOTE: From the engineering network, users may login directly to the desired computer server using the SSH connection.

to arrive at the system information display. In MacOS X use the menus

Script.byu.edu SharePoint Instructions

Windows Subsystem for Linux Guide Documentation

Introduction to CCV and Cadence Virtuoso for Electronic Circuit Simulation

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

Introduction to Cuda Visualization. Graphical Application Tunnelling on Palmetto

CS1110 Lab 1 (Jan 27-28, 2015)

Using VPN. DJJ Staff

CS CS Tutorial 2 2 Winter 2018

Panopto Recording Guide

FIT 100: Fluency with Information Technology

Thank you for choosing ASAP s Remote QuickBooks hosting! The following will guide you through the set up of your new or updated user profile.

Installing ModelSim. Fares Elsabbagh

Using WestGrid from the desktop Oct on Access Grid

Ebrary User Guide. Downloading a Book: Reading ebrary books online: Accessing BookShelf: Using the Bookshelf:

Kermit 95 SSH Installation Instructions

Raspberry Pi Setup Tutorial

New User Tutorial. OSU High Performance Computing Center


DropSend Getting Started Guide

Directions for Setting up Remote Desktop Connection for PC:

STA 303 / 1002 Using SAS on CQUEST

Using VPN. Provider Staff

Principles of Bioinformatics. BIO540/STA569/CSI660 Fall 2010

Contents Overview... 2 Part I Connecting to the VPN via Windows OS Accessing the Site with the View Client Installing...

Appserv Internal Desktop Access Mac OS Device with Safari Browser. Enter your Appserv username and password to sign in to the Website

Using the Remote Desktop Portal

Scheduling WebEx Meetings

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...

SAP GUI 7.30 for Windows Computer

How to SSH to nice.fas.harvard.edu from Windows

San Jacinto College. Secure SSL VPN Instruction Manual. Contents

If your Mac keeps asking for the login keychain password

Linux Connection Guide

Remote Desktop How to guide

HOBLink Terminal Edition Quick guide

Your . A setup guide. Last updated March 7, Kingsford Avenue, Glasgow G44 3EU

UMMS My Remote VPN Access Windows User Guide. In order to successfully use My Remote for VPN access, you will need the following:

Setting up a Chaincoin Masternode

Setting up my Dev Environment ECS 030

Client Configuration Guide

Linux hep.wisc.edu

Xton Access Manager GETTING STARTED GUIDE

Installing Microsoft Desktop Connection for MAC YOU RE USING THE MOST RECENT COPY (SEE LINK) OF MICROSOFT

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) First Name: Last Name: NetID:

Build your own NAS with OpenMediaVault

Virtual Desktop Infrastructure Setup for MacOS

Code Check TM Software Requirements Specification

Getting started with Raspberry Pi (and WebIoPi framework)

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

Remote Access User Guide for Mac OS (Citrix Instructions)

Getting Started with Python and the PyCharm IDE

Setting Up and Using WebDrive

Using RDP with Azure Linux Virtual Machines

Lab Zero: A First Experiment Using GENI and Jacks Tool

STRS OHIO F5 Access Client Setup for ChromeBook Systems User Guide

Remote Access to the CIS VLab (308)

Installing AGO2GO on a Mac 10.9 to 10.12

Linux Tutorial #1. Introduction. Login to a remote Linux machine. Using vim to create and edit C++ programs

EECS 211 Lab 2. Getting Started. Getting the code. Windows. Mac/Linux

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

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 early, so you can hit the ground running. Machine Names The machines we will use are named login-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 using login.oit.duke.edu (see below). The machine names are login-teer-01.oit.duke.edu, login-teer-02.oit.duke.edu, login-teer-45.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). We will use login.oit.duke.edu to remotely connect to one of the teer machines: login.oit.duke.edu is a front-end alias that dynamically selects one of the physical teer machines to connect to. 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@login.oit.duke.edu where netid is your Duke netid. This command initiates a secure shell connection to one of the teer machines. If this is the first connection that you ve made to a particular machine 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 MobaXterm at http://mobaxterm.mobatek.net/ 2. Start MobaXterm (i.e., run the program) 3. Click Session in the upper left of the mob MobaXterm window a. You should get a popup window with choices across the top for type of session. Choose SSH. b. For Remote host enter login.oit.duke.edu c. Click the specify username checkbox, and enter your Duke NetID for the username. d. Click OK. This creates a session for later use and also connects you to one of the teer machines, with a prompt for your password in the shell window. 4. Type your password at the prompt. 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.

5. The next time you start MobaXterm, you can just double click the login.oit.duke.edu session in the saved sessions tab to connect to a Duke Linux machine. Ta-dah! You are now successfully connected to a remote Linux machine over the Internet. I ll leave you to explore the capabilities of MobaXterm on your own. 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@login.oit.duke.edu at the Linux prompt At the remote machine command prompt You now have a terminal session that is connected to one of the Duke Linux machiens (e.g., login-teer-15.oit.duke.edu). You should see a command prompt that is something like netid@login-teer-15 [production] ~ $ 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. Your specific prompt may differ from the screen grabs below due to some customizations I ve added.

1. Type date at this prompt, and press return, this is a unix command to display today s date, as shown below. 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. Note you may need to tab between windows since it may not automatically come to the front of your desktop. If this fails, you ve done something wrong in setting up X-windows, please review the steps above according to your operating system. [production] ~ $ xterm

3. Click in the xterm window to activate it. Close the new xterm window by typing exit at the prompt ([production] ~ $ exit) within the xterm window or by clicking the close 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: [production] ~ $ xterm& [production] ~ $ $ 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 ([production] ~ $ logout). Unix Tutorial You are now ready to go through the Unix tutorial available at http://www.cs.duke.edu/~alvy/courses/unixtut.