Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
labs:remote_access [2024/09/09 13:23] adminlabs:remote_access [2026/01/23 17:53] (current) admin
Line 8: Line 8:
 ===== From Off Campus ===== ===== From Off Campus =====
  
-Follow the instructions in "Remote Access" in [[https://wlu.box.com/v/ComputerScienceLabs|The Computer Science Lab Documentation]] to connect to the lab machines from off campus.+Follow the instructions in "Remote Access" in [[https://wlu.box.com/v/ComputerScienceLabs|The Computer Science Lab Documentation]] to connect to the lab machines from off campus using the VPN.
  
 ===== From Mac ===== ===== From Mac =====
Line 34: Line 34:
  
 ==== Requirements ==== ==== Requirements ====
- 
-Install [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|PuTTY]], an old school, free ssh client. 
  
 Download and install [[https://sourceforge.net/projects/xming/|Xming]]. [[http://www.straightrunning.com/XmingNotes/|Xming]] is a free X window server for Microsoft Windows. Start Xming before connecting to the remote system with your SSH client (for example, PuTTY). Download and install [[https://sourceforge.net/projects/xming/|Xming]]. [[http://www.straightrunning.com/XmingNotes/|Xming]] is a free X window server for Microsoft Windows. Start Xming before connecting to the remote system with your SSH client (for example, PuTTY).
 +
 +For the [[https://www.strongdm.com/blog/how-to-use-ssh-to-connect-to-remote-server-windows-linux-mac|instructions]] for setting up your Windows machine.
 +
 +Optional: Install [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|PuTTY]], an old school, free ssh client.
  
 ==== Making a Connection ==== ==== Making a Connection ====
Line 43: Line 45:
   - Run your X server application (e.g., Xming).   - Run your X server application (e.g., Xming).
     - When I ran Xming, it didn't seem like anything happened, but if you click "Show Hidden Icons", you should see the "X" for Xming     - When I ran Xming, it didn't seem like anything happened, but if you click "Show Hidden Icons", you should see the "X" for Xming
-  Run and configure PuTTY:+ 
 +If using the Powershell,  
 + 
 +  type the command \\ ''ssh -XY yourusername@hostname.cs.wlu.edu''  
 +      * where     ''yourusername'' is the username of your account and ''hostname'' is one of the lab machine names (e.g., rexx, snobol, turing). 
 +      * The ''-XY'' will allow you to see a graphical program's windows on your local machine.  Note that using a GUI application remotely can be slow.  You definitely don't want to try to run an application like Eclipse remotely. 
 +      * Answer "yes" to questions about trusting the machine and storing the key. 
 +      * **Your password will not be displayed.** Keep typing!  Hit enter.  
 +      * It can take longer than you'd expect to get a prompt back, but hang in there. 
 +      * You may get an error message about a .Xauthority file that you can safely ignore. 
 + 
 + 
 +If using PuTTY:
     - Enter one of the lab machine names, e.g., ''rexx.cs.wlu.edu'', under 'Host Name' and under 'Saved Sessions'.       - Enter one of the lab machine names, e.g., ''rexx.cs.wlu.edu'', under 'Host Name' and under 'Saved Sessions'.  
     - Enable X11: Click on the 'plus' of the Connection category (if it's not already expanded), then the plus of the SSH category, then select X11.  Check 'Enable X11 forwarding'.     - Enable X11: Click on the 'plus' of the Connection category (if it's not already expanded), then the plus of the SSH category, then select X11.  Check 'Enable X11 forwarding'.
     - Select the 'Session' category, and click on 'Save'     - Select the 'Session' category, and click on 'Save'
-  - Click Open to connect to the machine you specified above +    - Click Open to connect to the machine you specified above 
-    - Agree to any questions about trusting the host and accepting the security key. +      - Agree to any questions about trusting the host and accepting the security key. 
-  - Enter your username and password for your W&L account. **Your password will not be displayed.** Keep typing!  Hit enter. +    - Enter your username and password for your W&L account. **Your password will not be displayed.** Keep typing!  Hit enter.  
 + 
 + 
   - Try typing in ''idle3 &'' and then enter to see if a Python GUI IDE pops up.  Note that this can be slow depending on your network connection, especially the first time.   If the IDE pops up, it worked!  You can quit (close) the GUI (but not the ssh client, e.g., PuTTY).   - Try typing in ''idle3 &'' and then enter to see if a Python GUI IDE pops up.  Note that this can be slow depending on your network connection, especially the first time.   If the IDE pops up, it worked!  You can quit (close) the GUI (but not the ssh client, e.g., PuTTY).
   - Now, [[#using_ssh_on_the_lab_machines|ssh to a lab machine (See: Using ssh on the Lab Machines)]], so that not everyone is on the same machine.  See [[#machine_names|Machine Names]] for more information about the available machines.   - Now, [[#using_ssh_on_the_lab_machines|ssh to a lab machine (See: Using ssh on the Lab Machines)]], so that not everyone is on the same machine.  See [[#machine_names|Machine Names]] for more information about the available machines.
Line 61: Line 78:
 One student suggests installing a version of Linux on your machine using [[https://www.virtualbox.org/|VirtualBox]].  Then, in the virtual machine, you can open terminals and ssh in as in [[#from_maclinux|From Mac/Linux]]. One student suggests installing a version of Linux on your machine using [[https://www.virtualbox.org/|VirtualBox]].  Then, in the virtual machine, you can open terminals and ssh in as in [[#from_maclinux|From Mac/Linux]].
  
-=== Through myvi === 
- 
-**I don't think you can run GUIs from the CS machines this way. ** 
- 
-  * Log into [[http://myvi.wlu.edu|My VI]] 
-    * You may need to install some software if you haven't used this platform before. 
-    * You may need to submit a help request to ITS to get access to PuTTY. 
-  * Click on "Apps" at the top 
-  * Search for "Putty-VI" 
-  * Enter a host name, such as ''turing.cs.wlu.edu'' or any of the other lab machines.  None of the other fields need to be updated.  Click "Open" 
-  * Click "yes" to say that you trust the remote host when that dialog box pops up. 
-  * Then, enter your username when the prompt says "login as" 
-  * Enter your CS department password when prompted 
-  * You are now on the Linux machine, and you can use it just like if you were on the machine in lab.  
  
 ===== From Linux ===== ===== From Linux =====
labs/remote_access.1725888208.txt.gz · Last modified: by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0