Q: What to do when I ssh to username@stat.ubc.ca (aka be.stat.ubc.ca) I see error: "no matching host key type found. Their offer: ssh-rsa,ssh-dss, etc..."?

Edit the ~/.ssh/config file and include:

host stat.ubc.ca

    KexAlgorithms +diffie-hellman-group1-sha1

    HostKeyAlgorithms +ssh-rsa

Q: How to setup Outlook 2019 for StatNet email account

Please see this pdf file.

Q: How do I print to the photocopier, Snowman.stat.ubc.ca, from the mail room Windows 10 computer?

1) Get the Account ID  for the copier from office staff.

2) Login the Win10 computer using StatNet credential.

3) Select printer name: "Xerox WorkCentre 7855 PS".  Also check the checkbox "Print in grayscale (black and white)"  to save the color toner.

Select correct printer name

4) Click on button "Properties" you will see the form below. Select the stapling option you want, then click button "OK"

Select the stapling option

5) Enter the Account ID you get from step 1

Enter accounting info

Q: How do I change my StatNet password?

There are 2 ways:

  • Method 1:
    Generate your hashed password here and send to help [at] stat.ubc.ca requesting for a password change
  • Method 2: from a terminal window:
    $ ssh your_account [at] be.stat.ubc.ca     (use your account to replace 'your_account')
    $ passwd  (type in your current password and then type the new password twice)
    $ exit   (close your terminal session)
Q: No matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1
Assume your login is: binh.dang
Please try this:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 binh.dangjhchen [at] stat.ubc.ca (@stat.ubc.ca)
If you are using macOS please follow instructions here:
Q: How do I find the true URL of an FAQ?

The key is to find the accordion-### for the true URL.

1. Find your way to a FAQ page that includes the QA of interest.
Here is an example using Chrome:
I am interested being a Major in Statistics. How can I apply?
Navigate to
2. When on that page, right-clicking over the FAQ item, select "Inspect".
The tool window will highlight the accordion-### line.
(The 'x' on the top right will close this tool window.)
3. The question sits inside a div with an id of the form accordion-###.
<div id="accordion-10142"
Copy or make note of the four digit code (10142 in the example).
4. Form a URL using this code as follows:
https://www.stat.ubc.ca/node/accordion-###. For the example, it's
https://www.stat.ubc.ca/node/10142. This URL can be shared with the student.

Q: How do I set up SMTP Server?

You can setup Outlook/Apple/Thunderbird mail reader to read StatNet email. Remember to disable "Automatic manage connections" on the email client.

Here are the parameters you need to know:

Incoming mail server: imaps.stat.ubc.ca

Protocol: IMAP


If using STARTTLS: 143

If using SSL: 993

Mail Folder Prefix: (leave empty)

Outgoing mail server: mailhost.stat.ubc.ca

Protocol: SMTP

Port: one of either Ports: SMTP/STARTTLS: port 587

SMTP/SSL: port 465

If there is a choice of authentication methods, LOGIN or PLAIN will work.

Q: How to access UBC OneDrive and Office 365 on the Cloud?

UBC OneDrive info/howto:

Basically OneDrive is similar to our ownCloud/Nextcloud or Dropbox services.
You will have 2 ways to access it:

a) Cloud access
Faculty and staff who meet the service requirements will be able to access the tools at https://portal.office.com by signing in with their alias.
Login: firstname.lastname [at] ubc.ca
Password: your CWL password
and going through the UBC multi-factor authentication process.
From there, they can use the web-based versions or download the OneDrive software to install it onto your desktop/laptop locally.

b) Direct access as a local drive on your desktop/laptop
You will need to install an OneDrive software, download after you login "Cloud access", onto your device so it can sync data with the OneDrive on the Cloud.

Q: How to deploy a Shiny app to shiny-apps.stat.ubc.ca?

Please click here to view in pdf

Q: How to apply for FASmail?


The UBC Faculty & Staff Email (FASmail) service is an enterprise email service for eligible staff, faculty and student employees of the University of British Columbia.

Documentation and References

    UBC Faculty & Staff Email (FASmail)

Getting Started

*Send a request directly to UBC IT by fill in...
The "FASmail Service Request Web Form" (*Ignore "For Departmental Administrators only")
and ask for FASmail mail box with FASmail alias, "firstname.lastname(at)ubc.ca".


    *Note: Make sure to supply these options...
    [Requestor Type]
    Service* [ FASmail User Mailbox ]
    Request Type* (x) Add

    [Technical Details]
    - User's Email Alias*
    (x) firstname.lastname(at)ubc.ca email alias

If you want to forward FASmail to your StatNet email, ask UBC IT do it for you as it's much simpler.

After you have your FASmail setup with an alias firstname.lastname@ubc.ca, notify Assistant to Head (headsec at stat.ubc.ca), so she can add your new alias to UBC Directory.
You can check it here see if it's ready entered or not.