Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh tip #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions facilities/stations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Neuropoly Computers

<!-- TODO: port the rest from https://www.neuro.polymtl.ca/internal_resources/list_of_computers -->

## Polygrames

To access most in-house computers, whether on-campus or remote, you must have an [active polygrames account](../onboarding/accounts.md#polygrames).

##

## Connecting to Neuropoly Remotely

### VPN

First, you need to connect to [the VPN](http://www.polymtl.ca/si/reseaux/acces-securise-rvp-ou-vpn).

* Windows: ...
* Mac: ...
* Linux: `openconnect ...`

# ...

# SSH

```
ssh [email protected]
```

For Windows: (WSL? PuTTY?)

You can use ssh even while on campus to connect to other machines and transfer files, etc.

# SSH Shortcut

Add this to your `~/.ssh/config` file to allow you to just type `ssh joplin` or any other host and be connected to the right place with the right username:

```
Host joplin
HostName joplin.neuro.polymtl.ca

Host ferguson
HostName ferguson.neuro.polymtl.ca

Host abbey
HostName abbey.neuro.polymtl.ca

Host bireli
HostName bireli.neuro.polymtl.ca

Host rosenberg
HostName rosenberg.neuro.polymtl.ca

Host romane
HostName romane.neuro.polymtl.ca

Host tristano
HostName tristano.neuro.polymtl.ca

Host data
HostName data.neuro.polymtl.ca
User git

Match host *.neuro.polymtl.ca
User <POLYGRAMES_USERNAME>
```

Add this to your `~/.ssh/config` to make multiple ssh connections faster and without retyping your password:

```
Host *
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p
ControlPersist 3s
```

## Computing Stations

14 changes: 14 additions & 0 deletions onboarding/accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Accounts

# ...

## polygrames

Polygrames is an ActiveDirectory server which grants access to various computation resources available in the laboratory.

Please follow this [link](http://www.grames.polymtl.ca/facilities/servers-information/create_account) to request a polygrames network account.
Provide your Polytechnique ID number and specify: Prof. Cohen-Adad, Program - Biomedical engineering.

Your polygrames username will look like `P000000` or `u000000`.

# ...