Download Now (v0.94)
Latest Build -Connecting to AweSim
How to use the AweSim Connect App to Securely Connect a Windows PC to an AweSim Session
AweSim connect is a native windows application written in C# and compiled for .NET 2.0, providing compatibility for Windows versions from XP through Windows 10.
Why AweSim Connect?
To connect to AweSim services, a secure tunnel to a session is required. This can be done relatively simply in OSX and Linux by using the SSH functionality built into the system, but Windows users have had to configure and use third party applications like PuTTY or Java to access secure resources at OSC. AweSim Connect provides preconfigured management of secure tunnel connections for Windows users, as well as providing a launcher for secure file transfer, VNC, terminal, and web based services.
Getting Started
AweSimConnect.exe
Download the latest release of Currently available at: https://github.com/OSC/osc-connect/releases
Save the file to a folder of your choice
When you first run AweSim Connect, an temporary folder with four additional files will be added to this folder. These are required for proper functionality of the application. Please ensure that these files are permitted by your IT administrator.
-
plink.exe
is the command-line version of PuTTY and is used by the application to create the secure connection to AweSim resources. (version 0.66) -
putty.exe
the GUI application of PuTTY is used to provide terminal emulation remote console connections to AweSim resources. (version 0.66) -
vncviewer.exe
is the VNC viewer client used to view a remote desktop session. Currently TurboVNC Viewer 2.0.1. -
WinSCP.exe
AweSim Connect includes WinSCP 5.7.6 as the default SFTP client.
AweSimConnect.exe
file to run the application
Double-Click the No further installation is required. In the current state, AweSim Connect is entirely deployed by a single executable file.
Connecting to a Session
The AweSim Connect application can be used to connect to a running session. Sessions are launched through the AweSim web dashboard. AweSim Connect does not have the ability to launch a new session.
Navigate to the AweSim Dashboard and create a session
Navigate your browser to https://apps.awesim.org/devapps/, or click the button with the globe in the upper-right side of the application to launch a browser instance.
- AweSim Connect currently supports connections to VNC applications and the browser-based COMSOL Server application.
Enter your AweSim Credentials in the text boxes
- Entering your credentials reveals file transfer options and allows you to select a Session type.
Three ways to Connect
awesim://
link.
Option One: Click the AweSim Connect supports a custom URI scheme that is registered when you launch the application. After the app is run once, just click the link provided in the Session App to launch AweSim Connect and populate the configuration information. Then, just click the lightning bolt icon to connect to your session.
Option Two: Copy to clipboard
Click the blue "Connection Information" button associated with your session, then just copy the provided code to your windows clipboard. The application will detect the code and populate the fields for you. Then, just click the lightning bolt icon to connect to your session.
If your information has been entered correctly, you will be automatically connected to our system. You may see a window open and close briefly, this is the secure tunnel being established.
- If your password was entered incorrectly on the main form, this window will remain open while the system prompts you for a valid password.
Option Three: Manually enter the connection data.
Select a session type
- Click the option to create a VNC Tunnel or a COMSOL server session tunnel.
Enter your session info
-
COMSOL Server: Enter the host name provided by the session manager. A remote port of 2036 will be entered by default.
-
VNC Connection: In the session manager of the application you want to connect to, click the blue icon to display additional connection info. Enter the Host, Port, and VNC password as displayed in the image below.
Click to Connect the tunnel
When all of the fields are populated, click the lightning bolt icon to establish the secure tunnel. If your information has been entered correctly, you will be automatically connected to our system. You may see a window open and close briefly, this is the secure tunnel being established.
- If your password was entered incorrectly on the main form, this window will remain open while the system prompts you for a valid password.
Connection Window
While the connection is being established, you will be presented briefly with a connection window that handles the application launch. This window will disappear once a connection is made.
Settings and Automation options
The settings menu (indicated by the wrench icon) contains several configuration options to modify the behavior of the application.
Connection Settings
SSH Host
Use this dropdown to select the default host. Selecting a server here will change the endpoint for tunneling, sftp connections, console connections, and connectivity checking. ( Default: oakley.osc.edu )
System Settings
Detect Clipboard Activity
When this option is enabled, the application will detect valid data on the Windows clipboard and populate the application. ( Default: Off )
Check for New Versions
If this box is checked, AweSim Connect will check to see if a new version is available and provide notice.
Automation Settings
Several automation functions are available to reduce the amount of interaction required with the AweSim Connect application.
Save User Credentials
When checked, allows the application to remember the user when the application is reopened. This saves the user credentials to the user settings using DPAPI Encryption. Passwords are decrypted only by current the Windows user account. ( Default: Off )
Launch Tunnel on Import
When checked, the tunnel will automatically connect when the application detects a valid clipboard string and the user credentials have been entered. ( Default: On )
VNC Settings
Adjust the image quality used by the VNC client ( Default: 95 )
Secure File Transfer
The AweSim Connect application will detect if you have a supported SFTP client on your system, or use the embedded client, and allow you to connect to securely connect to the AweSim file system over SFTP.
Enter your AweSim credentials
Click the file transfer button in the bottom left.
sftp.osc.edu
by default.
The SFTP client will attempt to connect to If the supported SFTP client is detected, the application will resort to the embedded option. You can enable the embedded option as the default in the Advanced Settings Menu.
- WinSCP is the embedded SFTP client.
Developer Notes
- AweSim Connect is built to comply with the Microsoft .NET runtime 2.0. 2.0 is considered "pure" .NET and the compiled binaries should function without additional dependencies on Windows XP/7/8/8.1/10.
- AweSim Connect is developed using primarily the C# language.
Build Instructions
- Download and install Visual Studio Community 2015
- Visual Studio includes team support. If you are accustomed to command-line git, download and install Git for Windows to gain access to Git Bash.
-
git clone
the AweSim Connect repository to your system. - Open the project in Visual Studio by clicking File > Open > Project/Solution and selecting AweSimConnect.sln in the file dialog. You can also load the project in Visual Studio by double-clicking the AweSimConnect.sln file in the Windows Explorer.
- Download the required dependencies using the NuGet Package Manager
- Click the button with the green arrow and the word "Start" to build and run the solution.
awesim://
URI
Automatic connection via AweSim Connect has custom URI support. Run the application once to enable this feature. Clicking an AweSim URI provided by the web session manager will activate and populate the application with connection data.
Examples of valid patterns:
- VNC:
awesim://<UserName>:<VNCPassword>@<PUAServer><RemoteHost>
- VNC (no user):
awesim://:<VNCPassword>@<PUAServer><RemoteHost>
- COMSOL:
awesim://<UserName>@<PUAServer><RemoteHost>
- COMSOL (no user):
awesim://<PUAServer>:<RemoteHost>
- SFTP:
awesim://sftp@<RemotePath>
Automatic connection via command line arguments.
AweSim Connect accepts command line arguments in the patterns:
AweSimConnect.exe <UserName>:<VNCPassword>@<PUAServer>:<RemotePort>
AweSimConnect.exe :<VNCPassword>@<PUAServer>:<RemotePort>
AweSimConnect.exe <UserName>@<PUAServer>:<RemotePort>
AweSimConnect.exe <PUAServer>:<RemotePort>
AweSimConnect.exe sftp@<RemotePath>