Difference between revisions of "Remote"

From SGEES Wiki
Jump to navigation Jump to search
Line 92: Line 92:
  
 
RDP client is included into all Windows as one of standard components, whereas for other O/S you need extra tool: Remmina for Linux and RDP client for MacOS
 
RDP client is included into all Windows as one of standard components, whereas for other O/S you need extra tool: Remmina for Linux and RDP client for MacOS
 +
 +
== To your H: and M: drives ==
 +
While keeping VPN active you may relatively easy get access to your university personal and shared files ("drives H: and M:"). Please be aware of network speed and connectivity: this case all your file operations will go over Internet connection so for large files it might be slow and unresponsive, also please check if it will not eat all your monthly Internet traffic (if you're not sitting on unlimited tariff)
 +
 +
Note the login name conventions. If there is no special entry for domain, use your user's name with "staff" prefix: <code>staff\username</code>
 +
 +
=== From Linux and MacOS ===
 +
See here: [[WinShares|Windows Shared Folders]]
 +
 +
=== From Windows ===
 +
Run Windows Explorer and paste the following in address line:
 +
For M drive
 +
* \\stastocoiscifs1.staff.vuw.ac.nz\SCIFAC_SHARED\
 +
For H drive
 +
* \\stastocoiscifs1.staff.vuw.ac.nz\SCIFAC_HOME\your_windows_login
 +
 +
You can add add these addresses to your Explorer bookmarks ("Favourites") or map network folders, however should avoid of reconnecting them on each logon. Without VPN they might show unpredictable behaviour.

Revision as of 01:29, 31 March 2020

From home

From Linux computer

VPN client installing

Install openconnect: For Ubuntu (CLI and GUI)

sudo apt install openconnect
sudo apt install network-manager-openconnect network-manager-openconnect-gnome

Start VPN client either from command line:

sudo openconnect vpn.vuw.ac.nz

or via GUI - create a new VPN connection in Network Manager settings as "Cisco AnyConnect or openconnect" and "vpn.vuw.ac.nz" gateway and activate it.

Use your university staff login and password for authentication.

Linux essential tools

Most of tools you might need are included into standard Linux distributions by default. There is a good chance you've got them already installed. You may need:

  1. SSH client: sudo apt install openssh-client
  2. rsync client: sudo apt install rsync
  3. x2Go client: sudo apt install x2goclient
  4. sshfs (to mount server folder over SSH): sudo apt install sshfs
  5. RDP client (for connecting to Windows): Remmina. As Microsoft have made some changes in RDP protocol recently, you may need to use the most recent version not included in base Ubuntu repo yet:
sudo add-apt-repository ppa:remmina-ppa-team/remmina-next
sudo apt install remmina

From MacOS computer

VPN client installing

Navigate to https://vpn.vuw.ac.nz. Login with your university staff login and password and get Cisco AnyConnect Client. Download, install and run it. Connect to "vpn.vuw.ac.nz" and use your university staff credentials when prompted for login and password.

MacOS essential tools

  1. SSH client: should be installed as part of base MacOS
  2. rsync client: should be installed as part of base MacOS
  3. x2Go client: download it at https://wiki.x2go.org/doku.php/download:start
  4. File manager for SSH: https://cyberduck.io/
  5. RDP client: install official from Mac App Store https://apps.apple.com/us/app/microsoft-remote-desktop-10/id1295203466?mt=12

From Windows computer

VPN client installing

Navigate to https://vpn.vuw.ac.nz. Login with your university staff login and password and get Cisco AnyConnect Client. Download, install and run it. Connect to "vpn.vuw.ac.nz" and use your university staff credentials when prompted for login and password.

Windows essential tools

  1. SSH client: PuTTy https://www.putty.org/
  2. rsync client: https://itefix.net/cwrsync
  3. x2Go client: download it at https://wiki.x2go.org/doku.php/download:start
  4. File manager for SSH: WinSCP - https://winscp.net/eng/download.php, Cyberduck - https://cyberduck.io/

From mobile device

Haven't tested any yet

To university

To high performance cluster

After VPN connection established you may connect to any SGEES/ARC high performance clusters. The only protocol supported is SSH. You can see the list of our HPC's here: List of SGEES computing facilities

Using SSH for text mode access

Either run it from command line:

ssh username@sgees018.geo.vuw.ac.nz

Or use GUI tool: Cyberduck or WinSCP in MacOS and Windows, or "Go->Connect to Server" in MacOS

In Linux it varies:

Nautilus file manager has interface similar to MacOS ("Go->Connect to Server"),

whereas Dolphin has a direct support for SFTP, so the syntax would be:

sftp://sgees018.geo.vuw.ac.nz/Volumes/

Using x2Go client for GUI

Start client and create a new connection, refer to List of SGEES computing facilities (assume you're connecting to tara.geo.vuw.ac.nz):

Session Name: some meaningful name, e.g. "Tara HPC"
Host: tara.geo.vuw.ac.nz
Login: <your Linux login>
SSH port: 22
Session type: XFCE

All (save the legacy sgees017) clusters have only XFCE desktop environment installed, so check if you've selected it properly.

On Input/Output tab force Set display DPI to "96" for overriding issues with modern high resolution displays (like giant fonts or icons)

Start connection and login with your Linux credentials.

To Linux desktop

At first you need to know your computer name (hostname) to be able to connect it. Either write it down or remember. All SGEES desktops use the special naming convention in form: "building-room-pc", so your desktop name might look like co123pc03.geo.vuw.ac.nz

Please be aware - there is no way to power on your university computer remotely.

Most times you don't need to connect to you desktop for downloading or uploading any files. As we use network home profiles, all your documents stored there will be also accessible at any SGEES server (which is preferable way).

All Linux machines have SSH server running, however (for security reasons) access is open for system administrator only. If you believe you need to have remote access to your desktop (e.g. to run some very unique software installed only there), please ask Linux system administrator to add you to whitelist on the particular computer. Also there is an option to use x2Go for starting graphical session (after installing x2Goserver on the particular desktop)

To Windows desktop

For Windows ITS uses the different naming conventions: "school-service_tag.domain", so your Windows computer name should be similar to GEES-GFU468.staff.vuw.ac.nz

Start remote desktop (RDP) connection to the desktop and use your staff credentials. You might need to prepend your login with "staff\" (so your login will be: staff\username) to give RDP client information about your domain.

RDP client is included into all Windows as one of standard components, whereas for other O/S you need extra tool: Remmina for Linux and RDP client for MacOS

To your H: and M: drives

While keeping VPN active you may relatively easy get access to your university personal and shared files ("drives H: and M:"). Please be aware of network speed and connectivity: this case all your file operations will go over Internet connection so for large files it might be slow and unresponsive, also please check if it will not eat all your monthly Internet traffic (if you're not sitting on unlimited tariff)

Note the login name conventions. If there is no special entry for domain, use your user's name with "staff" prefix: staff\username

From Linux and MacOS

See here: Windows Shared Folders

From Windows

Run Windows Explorer and paste the following in address line: For M drive

  • \\stastocoiscifs1.staff.vuw.ac.nz\SCIFAC_SHARED\

For H drive

  • \\stastocoiscifs1.staff.vuw.ac.nz\SCIFAC_HOME\your_windows_login

You can add add these addresses to your Explorer bookmarks ("Favourites") or map network folders, however should avoid of reconnecting them on each logon. Without VPN they might show unpredictable behaviour.