IT:Remote Access: Difference between revisions

From Atmospheric and Oceanic Science
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Connecting to Computers =
= Connecting to Computers =
There are 2 ways to connect to the departmental computers
There are 2 ways to connect to the departmental computers
* By using the 2 Jump Hosts directly accessible to you from outside the department.
* If you are a McGill Student/Employee/Affliate is to use the [https://mcgill.service-now.com/itportal?id=kb_article&sysparm_article=KB0010687  McGill VPN].  Please be advised that you need to be registered to two factor Authentication [https://www.mcgill.ca/2fa/ 2FA] for McGill VPN.  While on VPN, AOS computers see you as being on campus.  Once on VPN, you can [[IT:Secure shell (ssh)|ssh]] directly to your machine with its full hostname (xxxxxxxx.meteo.mcgill.ca)
OR
* An alternative method is by using the 2 Jump Hosts directly accessible to you from outside the department.
These Jump Hosts are called
These Jump Hosts are called
# ''meteo.mcgill.ca'', also known as ''zephyr'',
# ''meteo.mcgill.ca'', also known as ''zephyr'',
# '''''aos.meteo.mcgill.ca'''''  
# '''''jump.meteo.mcgill.ca'''''  
Once logged into ''zephyr'', or ''aos'', you may connect to any other computer in the department as if you were inside.
Once logged into ''zephyr'', or ''jump'', you may connect to any other computer in the department as if you were inside.
{{Note| Please do not run your scripts/code on the Jump Hosts! |warn}}
{{Note| Please do not run your scripts/code on the Jump Hosts! |warn}}   
* An alternative method if you are a McGill Student/Employee/Affliate is to use the [https://mcgill.service-now.com/itportal?id=kb_article&sysparm_article=KB0010687 McGill VPN].  Please be advised that you need to be registered to two factor Authentication [https://www.mcgill.ca/2fa/ 2FA] for McGill VPN.  While on VPN, AOS computers see you as being on campus. 
 
== Connecting from Windows, Linux or OS X ==
== Connecting from Windows, Linux or OS X ==
=== Without graphics ===
=== Without graphics ===
Line 17: Line 17:
In Microsoft Windows(10+), you can run ssh through the "cmd" terminal (Start Menu --> Run --> cmd) or through PowerShell.  On Linux or a Mac, you have a terminal by default.
In Microsoft Windows(10+), you can run ssh through the "cmd" terminal (Start Menu --> Run --> cmd) or through PowerShell.  On Linux or a Mac, you have a terminal by default.


{{Note| You may be interested in using [[IT:tmux]] in combination with your SSH connections for long-running jobs.}}
{{Note| You may be interested in using [[Software:Tmux|Tmux]] in combination with your SSH connections for long-running jobs.}}


=== With Graphics ===
=== With Graphics ===
You have 2 choices for running Graphical software on AOS machines
You have 2 choices for running Graphical software on AOS machines
# [[IT:ssh|XForwarding Using X-Forwarding on ssh]]
# [[IT:ssh|XForwarding Using X-Forwarding on ssh]]
# [[IT:remoteDesktop Using Remote Desktop if on McGill VPN]]
# [[IT:Remote Desktop|Using Remote Desktop if on McGill VPN]]

Latest revision as of 20:48, 27 June 2023

Connecting to Computers

There are 2 ways to connect to the departmental computers

  • If you are a McGill Student/Employee/Affliate is to use the McGill VPN. Please be advised that you need to be registered to two factor Authentication 2FA for McGill VPN. While on VPN, AOS computers see you as being on campus. Once on VPN, you can ssh directly to your machine with its full hostname (xxxxxxxx.meteo.mcgill.ca)

OR

  • An alternative method is by using the 2 Jump Hosts directly accessible to you from outside the department.

These Jump Hosts are called

  1. meteo.mcgill.ca, also known as zephyr,
  2. jump.meteo.mcgill.ca

Once logged into zephyr, or jump, you may connect to any other computer in the department as if you were inside.

Please do not run your scripts/code on the Jump Hosts!

Connecting from Windows, Linux or OS X

Without graphics

Once you have connected to the gateway, OR are on VPN, you can use a ssh terminal to connect to any linux AOS workstation.

ssh USERNAME@zephyr.meteo.mcgill.ca

In Microsoft Windows(10+), you can run ssh through the "cmd" terminal (Start Menu --> Run --> cmd) or through PowerShell. On Linux or a Mac, you have a terminal by default.

You may be interested in using Tmux in combination with your SSH connections for long-running jobs.

With Graphics

You have 2 choices for running Graphical software on AOS machines

  1. XForwarding Using X-Forwarding on ssh
  2. Using Remote Desktop if on McGill VPN