Human Genetics Linux course Connecting to other machines/data-stores



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

How to Backup XenServer VM with VirtualIQ

SSH and FTP on Ubuntu WNYLUG Neal Chapman 09/09/2009

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

Cloud Storage Quick Start Guide

BACKUP YOUR SENSITIVE DATA WITH BACKUP- MANAGER

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

Secure Shell. The Protocol

Using Microsoft Expression Web to Upload Your Site

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Administrasi dan Manajemen Jaringan 2. File Transfer Protocol (FTP)

ASX SFTP External User Guide

MobaXTerm: A good gnome-terminal like tabbed SSH client for Windows / Windows Putty Tabs Alternative

Extending Remote Desktop for Large Installations. Distributed Package Installs

File Transfer Examples. Running commands on other computers and transferring files between computers

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

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

ICS 351: Today's plan

SSH! Keep it secret. Keep it safe

How To Backup In Cisco Uk Central And Cisco Cusd (Cisco) Cusm (Custodian) (Cusd) (Uk) (Usd).Com) (Ucs) (Cyse

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

Step One: Installing Rsnapshot and Configuring SSH Keys

Back Up Linux And Windows Systems With BackupPC

Adobe Marketing Cloud Using FTP and sftp with the Adobe Marketing Cloud

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

TELE 301 Network Management. Lecture 16: Remote Terminal Services

Install and configure SSH server

Remote Desktop In OpenSUSE 10.3

Using Network Attached Storage with Linux. by Andy Pepperdine

Configuring SSH and Telnet

Rsync: The Best Backup System Ever

Access Instructions for United Stationers ECDB (ecommerce Database) 2.0

Navigating the Rescue Mode for Linux

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

FUGU - SFTP FOR MACS- REFERENCE GUIDE

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.

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

HPCC - Hrothgar Getting Started User Guide

Installing the SSH Client v3.2.2 For Microsoft Windows

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

How to upload large files to a JTAC Case

Automated Offsite Backup with rdiff-backup

SSH, SCP, SFTP, Denyhosts. Süha TUNA Res. Assist.

Configuring Secure Linux Hosts

Lab 8: Configuring Backups

A SHORT INTRODUCTION TO BITNAMI WITH CLOUD & HEAT. Version

NSA325 v2. Support Notes. Version 1.00 Aug, 2013

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

Connectivity using ssh, rsync & vsftpd

File Transfer Protocol (FTP) Chuan-Ming Liu Computer Science and Information Engineering National Taipei University of Technology Fall 2007, TAIWAN

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger

WinSCP: Secure File Transfer Using WinSCP for Secure File Transfer on Windows

4PSA Total Backup User's Guide. for Plesk and newer versions

DiamondStream Data Security Policy Summary

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

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

XFTP 5 User Guide. The Powerful SFTP/FTP File Transfer Program. NetSarang Computer Inc.

NAS 109 Using NAS with Linux

Using WinSCP to Transfer Data with Florida SHOTS

Desktop virtualization using SaaS Architecture

SETTING UP A LAMP SERVER REMOTELY

Tera Term Telnet. Introduction

Connecting to the School of Computing Servers and Transferring Files

CASHNet Secure File Transfer Instructions

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

How To Set Up Egnyte For Netapp Sync For Netapp

Easy Setup Guide 1&1 CLOUD SERVER. Creating Backups. for Linux

WinSCP Tutorial 01/28/09: Y. Liow

FTP Manager. User Guide. July Welcome to AT&T Website Solutions SM

Linux Development Environment Description Based on VirtualBox Structure

actinas Cube RDX FAQ

How to use FTP Commander

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

MATLAB Distributed Computing Server Cloud Center User s Guide

actinas Cube RDX Backup Manual Revision 1.3 FW revison SP5 Backup Job Window Backup Manual

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

Beyond Windows: Using the Linux Servers and the Grid

Using sftp in Informatica PowerCenter

Testing New Applications In The DMZ Using VMware ESX. Ivan Dell Era Software Engineer IBM

Linux Labs: mini survival guide

Git - Working with Remote Repositories

SSH and Basic Commands

FTP Server Configuration

The Einstein Depot server

FTP Use. Internal NPS FTP site instructions using Internet Explorer:

Setting up VNC, SAMBA and SSH on Ubuntu Linux PCs Getting More Benefit out of Your Local Area Network

INSTALL ZENTYAL SERVER

Table of Contents. Online backup Manager User s Guide

EVault Software. Course 361 Protecting Linux and UNIX with EVault

Creating a Website with MS Publisher

Laboration 3 - Administration

Security Configuration Guide P/N Rev A05

FTP Accounts Contents

WD My Cloud EX4 Personal Cloud Storage Release Notes for Firmware

Transcription:

Connecting to other machines/data-stores Michel Villerius

Connect to remote machine - Telnet (TELetype NETwork) - SSH (secure shell) - SFTP (ssh file transport protocol) - SCP (secure copy `uses ssh`) - FTP (file transport protocol) - rsync - Remote desktop viewer - Terminal Server Client Remote - IP address? - Hostname - VNC (virtual network computing) Local

SSH - connect encrypted to remote machine - Can use public and private key pair - #ssh-keygen to create key pair Enter passphrase leave empty for passwordless login - Open Terminal type: man ssh type: /-X -X Remote Contains public key Enables X11 forwarding. - Connect with: ssh -X hostname or ssh -X username@hostname Local Has private key

What is X11 forwarding? The X Window System (commonly X or X11) is a computer software system and network protocol that provides a graphical user interface (GUI) for networked computers. It provides windowing on computer displays and manages keyboard and pointing device control functions. In its standard distribution, it is a complete, albeit simple, display and human interface solution, which also delivers a standard toolkit and protocol stack for building graphical user interfaces on most Unix-like operating systems. The secure way to forward a graphical application is to forward your X11 packets through your ssh conection which automatically sets your DISPLAY environment variable for you when using option -X.

(S)FTP commands - sftp username@hostname ftp hostname - help Display this help text - ls Display remote directory listing - lls Display local directory listing - cd Change remote directory to 'path' - lcd Change local directory to 'path' - put Upload file - get Download file

RSYNC https://calomel.org/rsync_tips.html - Rsync is arguably one of the most powerful tools - You can backup files, transfer data from one system to another or make sure the data in two locations are identical. Rsync can do this for you without you worrying about what data has changed; it will take care of the details. - Using rsync instead of copy (cp) when interrupted it continues where it was interrupted rsync -av /usbdisk/ /localdisk/ - Using rsync over ssh instead of scp rsync -avz /usbdisk/ course@hostname:/backups/ - Deleting files on the remote machine that are no longer on the local machine rsync -avz --del /usbdisk/ course@hostname:/backups/ - Incremental backups using rsync The following example will make an incremental backup of the directory /data/working/ and put a copy of any file that changes into a dated directory in /BACKUP/. This can be used to keep a daily backup tree of any changed files and not have to overwrite the previous days files. rsync --backup --backup-dir=`date +%Y.%m.%d` -a /data/working/ /BACKUP/

Mount Network Shares 1 Know the server which is sharing 2 Know the share name 3 Know the permissions 4 know the firewall/security settings

Mount Network Shares

Mount Network Shares

Terminal adminrig@5-hkg-09-0045:~$ mount /dev/sdb1 on / type ext4 (rw,errors=remount-ro) /dev/sdb5 on /home type ext4 (rw) /dev/sdb6 on /data type ext4 (rw) gvfs-fuse-daemon on /home/adminrig/.gvfs type fuse.gvfs-fuse-daemon adminrig@5-hkg-09-0045:~$ cd.gvfs/ adminrig@5-hkg-09-0045:~/.gvfs$ ls humgen on vf-d5

Terminal Sudo smbmount //vf-d5/humgen /mnt/ -o username="lumcnet\mpvillerius" Sudo mount -t cifs //vf-humgen/humgen-data$ /data/humgen-data/ -o username="lumcnet\mpvillerius" /etc/fstab Part of the /etc/fstab file # <file system> <mount point> <type> <options> //VF-D5/humgen /home/vill/vf-d5/humgen cifs vf-solexa-data.lumcnet.prod.intern:/vol/solexa_01 vf-solexa-data.lumcnet.prod.intern:/vol/solexa_02 vf-solexa-data.lumcnet.prod.intern:/vol/solexa_03 <dump> <pass> noauto,rw,user,credentials=/home/vill/.cred 0 0 /Solexa-storage/Solexa-storage_01 nfs noauto,user,rw 0 /Solexa-storage/Solexa-storage_02 nfs noauto,user,rw 0 /Solexa-storage/Solexa-storage_03 nfs noauto,user,rw 0 0 0 0

vill@5-hkg-09-0045:~/howto$ smbclient -L \\vf-d5 Enter vill's password: Anonymous login successful Domain=[LUMCNET] OS=[EMC-SNAS:T5.6.46.415] Sharename Type Comment ------------ ------d5home$ Disk User home directories adenovirus$ Disk 6-sep smbsim2bb$ Disk MedStat Disk Medische Statistiek netdata5$ Disk Volume netdata5 Beheer Disk IRS Disk Inter-universitair Stralings Instituut MCB-CC Disk MCB Cytochemie en Cytometrie MCB-EM Disk MCB Elektronen Microscopie MCB-DN Disk MCB Ontwikkelings Neurologie BB-div5 Disk Bureau Bedrijfsvoering Divisie 5 PCcommon Disk Scratch schijf Divisie 5 MCB-GT Disk MCB GenTherapie FLDO Disk FLDO MCB-SE Disk MCB Struktuur Eiwit BureauBedrijfsvoering Disk archief$ Disk Parasitologie Disk Parasitologie KIK Disk Klinische Informatie Kunde malaria Disk Subtree voor Parasitologie MCB-VB Disk MCB Viro Biologie ToxGen Disk Toxico genetica Algemeen Disk General data divisie 5 bur-pdd Disk Buro Proefdier Deskundige PDC Disk Proefdier Centrum apps Disk Applications / installation d5apps Disk Applications / installation win32app Disk Applications Anatomie Disk Anatomie HumGen Disk Humane Klinische Genetica kg$ Disk Klinische Genetica _5_vol_F$ Disk Volume F KG Disk Klinische Genetica _5_vol_A$ Disk Volume A tsprofiles$ Disk _5_vol_Arch$ Disk C$ Disk Root Service Anonymous login successful

Questions or Comments?