Faculty VPN

The everyday way to reach your office computer. Works from Israel only, with no limit on how many machines you connect to.

  • Approx. 15 min the first time
  • Windows
  • macOS
  • Linux

Setup — register for two-factor auth

You do this once only, from any operating system. Without it no connection will work.

  1. Install the app

    Install Microsoft Authenticator on your phone from the app store.

  2. Register

    Go to mfar.esc.biu.ac.il and enter your Bar-Ilan username (without @biu.ac.il).

    Enter the username only, not the email address, then click Submit request. Complete reCAPTCHA if prompted. The QR code is sent to the personal email address held by the university.

    Current faculty MFA registration screen
  3. Scan the QR code

    In the app: Add account → Work or school account → Scan a QR code, and scan the code you received by email.

  4. Find your office computer IP

    From the office computer open whatsmyip.com and write the address down. You need it for every connection.

    The office computer must stay powered on — A remote connection cannot wake a machine that is off.

From Windows — remote desktop

On Windows 11, use Bitvise SSH Client for the SSH tunnel and the built-in Remote Desktop Connection for your office desktop. These are two separate sign-ins.

  1. Install Bitvise

    Download and install the latest Bitvise SSH Client. At this guide update the download is version 9.69. Install the SSH Client; the SSH Server is not needed. The vendor states that upgrading preserves existing settings.

  2. The Login tab

    • Host — vpn.esc.biu.ac.il
    • Port — 2222
    • Initial method — keyboard-interactive
    • Username — your Bar-Ilan username
    Bitvise 9.69 Login tab with faculty VPN settings
  3. Options: automatically open Remote Desktop

    On Options, under On Login, set Open Remote Desktop → On first login. Set Open Terminal → Never and leave Open SFTP unchecked. In the new version, the first two settings are dropdowns, not checkboxes.

    Bitvise 9.69: Open Remote Desktop set to On first login
  4. RDP: configure the computer through Destinations

    On RDP, click Destinations. In version 9.69 the computer address is configured here, replacing the Computer field used in older versions.

    Remote Desktop Destinations list in Bitvise 9.69
    1. Select the existing 127.0.0.1 entry and click Edit….
    2. In Destination, replace it with your office computer’s IP address. 192.0.2.10 in the screenshots is an example only; enter your own address.
    3. Optionally enter a label in Comment. Leave Credentials → Use default credentials; account details are configured in the next step.
    4. Click OK in the editor, then OK in the destination list.
    Destination editor: the address shown is an example only
  5. Office computer sign-in details

    Return to RDP. Under Default Destination Credentials, clear Use SSH login credentials so the office account details are separate from the VPN gateway sign-in.

    • Domain — ccdom.
    • Username — your Bar-Ilan username. YOURUSER in the screenshot is a placeholder.
    • Leave Store encrypted password in profile unchecked. Windows will request the account password when connecting; this is not your local PIN.
    Bitvise 9.69: Destinations and separate credentials without saving a password
  6. Connect

    1. Click Log in. On the first connection, verify the fingerprint with support before Accept and Save. For a changed-key warning, use the troubleshooting section below.
    2. Enter your Bar-Ilan password, then the one-time code for mfa@esc.biu.ac.il from Authenticator.
    3. After SSH connects, Bitvise opens RDP. If it does not open automatically, choose New Remote Desktop in Bitvise.
    4. If Windows asks for credentials again, select another account if necessary and enter ccdom\YOURUSER and your Bar-Ilan password. Use the account password, not a Windows Hello PIN or an Authenticator code.
  7. The Windows 11 Remote Desktop Connection window

    Bitvise launches the Windows Remote Desktop Connection client. Open it manually from Start and choose Show Options to see computer and username fields. When Bitvise launches it, the address may be 127.0.0.1 with a local port: this is the SSH tunnel, not the office computer address. Do not replace it with the office address in the window launched by Bitvise.

    Windows 11 Remote Desktop Connection with an example local address and username

    127.0.0.1:13389 is shown as an example. Bitvise selects the local port for the connection; use the connection it launches automatically rather than copying this screenshot’s port.

    Prepare the office computer in advance — The target needs a Windows 11 edition that can host RDP, such as Pro, Enterprise or Education. Home can act as a client but cannot host these sessions. On the office PC: Settings → System → Remote Desktop. If it is disabled or you lack access, contact support before leaving campus. Microsoft instructions

From a Mac — remote desktop

On a Mac you open the tunnel from Terminal, then connect through it with the Microsoft remote desktop app.

  1. Open the tunnel

    Open Terminal and run — with your office computer IP and your username:

    ssh -f -N -L 13389:OFFICE_IP:3389 -l YOURUSER@biu.ac.il vpn.esc.biu.ac.il -p 2222

    For example:

    ssh -f -N -L 13389:132.71.71.2:3389 -l orenn@biu.ac.il vpn.esc.biu.ac.il -p 2222
  2. Authenticate

    1. Type your Bar-Ilan password and press Enter.
    2. Open Authenticator, pick mfa@esc.biu.ac.il and type the one-time code.

    No error means the tunnel is up and running in the background.

  3. Connect the desktop

    Install Windows App (formerly Microsoft Remote Desktop) from the App Store, click + Add PC and enter:

    127.0.0.1:13389

    Sign in with your Bar-Ilan username and password.

  4. Close the tunnel when done

    pkill -f "13389:"

From Linux — remote desktop

The same SSH tunnel as on a Mac, with a local RDP client.

  1. Open the tunnel

    ssh -f -N -L 13389:OFFICE_IP:3389 -l YOURUSER@biu.ac.il vpn.esc.biu.ac.il -p 2222

    Type your Bar-Ilan password, then the one-time code from the app.

  2. Connect with an RDP client

    xfreerdp /v:127.0.0.1:13389 /u:YOURUSER /d:ccdom /dynamic-resolution

    If xfreerdp is not installed:

    sudo apt install freerdp2-x11      # Debian / Ubuntu
    sudo dnf install freerdp           # Fedora / RHEL
  3. Close the tunnel when done

    pkill -f "13389:"

SSH to a Linux machine

Command line only, no desktop. Works from any operating system — on Windows use PowerShell or Windows Terminal.

  1. Connect through the jump host

    ssh -J YOURUSER@vpn.esc.biu.ac.il:2222 LINUXUSER@TARGET_HOST
    • YOURUSER — your Bar-Ilan username
    • LINUXUSER — your account on the target machine
    • TARGET_HOST — hostname or IP of the lab machine
  2. Authenticate

    1. Bar-Ilan password → Enter
    2. One-time code from Authenticator → Enter
    3. Your password on the Linux machine
  3. Make it a shortcut

    To avoid typing all that every time, add to ~/.ssh/config:

    Host biu-jump
        HostName vpn.esc.biu.ac.il
        Port 2222
        User YOURUSER
    
    Host lab
        HostName TARGET_HOST
        User LINUXUSER
        ProxyJump biu-jump

    From then on:

    ssh lab

REMOTE HOST IDENTIFICATION HAS CHANGED error

Fix SSH host key errors, including tunnels and jump hosts.

  1. REMOTE HOST IDENTIFICATION HAS CHANGED error

    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
    Host key verification failed.

    The server is presenting a different key from the one saved on your computer. A key rotation or server reinstall can cause this; the message alone does not establish that hardware was replaced.

    Before removing the old key — Contact support through a known channel to confirm the change and the current fingerprint for [vpn.esc.biu.ac.il]:2222. A fingerprint shown only in the error message is not sufficient verification.
  2. Remove the old key after confirmation

    Only after support confirms the key change, run this in Linux or macOS Terminal. It removes only the VPN host entries for port 2222:

    ssh-keygen -R "[vpn.esc.biu.ac.il]:2222"
    Keep the rest of known_hosts — Do not delete the entire file or disable host identity checking. If the error names a different file, add -f with that exact path. Do not copy another user’s path or delete a line using the example’s line number.
  3. Reconnect and verify the key

    Reconnect with your usual SSH command. Compare the fingerprint with the one confirmed by support, and type yes only if it matches. Then enter your password and verification code as usual.

    Bitvise stores host keys separately from OpenSSH. If it reports a changed key, inspect this server in Host key manager and update it only after support confirms the change. Do not automatically choose Accept and Save.

    OpenSSH ssh-keygen reference

Didn't work? Write to me.
·

Updated 17 November 2026