Prince:Networking
From OpenWetWare
Connecting to chem.byu.edu
SSH through purgatory
NOTE: The CSR folks will have to grant you permission to ssh into purgatory.
Install Prerequisites
On windows you will need to install some kind of ssh client. Some options:
- cygwin (with openssh installed??) [this is a full linux-y implementation on windows]
- Putty - a little standalone client [you'll need to figure this out -- when you do, put it here]
Create an ssh tunnel in linux-ish environment
This assumes you want to go to jp1 and your username is "<username>"
ssh -N -L22000:<username>@jp1.chem.byu.edu:22 <username>@purgatory.chem.byu.edu
# log in to the internal server ssh -p 22000 localhost # scp stuff from the internal server scp -P 22000 localhost:~/somefile.txt ./ # copy files from the internal server to local # mount a folder from the internal server locally using sshfs sshfs -p 22000 localhost:/home/<user>/<internal_dir> /home/<user>/mnt -o follow_symlinks
Virtual Private Network (VPN)
Install Prerequisites
- Ubuntu/debian
sudo aptitude install vpnc network-manager-vpnc
Connect with vpnc command line client
sudo vpnc Enter IPSec gateway address: vpn.chem.byu.edu Enter IPSec ID for vpn.chem.byu.edu: <YOUR GROUP> Enter IPSec secret for Faculty@vpn.chem.byu.edu: <SPECIAL GROUP PASSWORD> Enter username for vpn.chem.byu.edu: <USERNAME> Enter password for jtprince@vpn.chem.byu.edu: <YOUR CHEMISTRY PASSWORD>
<YOUR GROUP> == Faculty or Research?? or Staff?? or Postdoc?? Students?? Must see CSR's in person to get the IPSec secret for your group.