How to get access facet-srv01
- Confirm that you have a SLAC unix account.
- Using any terminal client
ssh username@iris.slac.stanford.edu
and thenssh mcclogin
. - Generate your SSH key
ssh-keygen -t rsa
and hit enter 3 times. - Email Ken Brobeck brobeck@slac.stanford.edu and provide your unix username and the information that your key was generated on mcclogin. CC Spencer Gessner sgess@slac.stanford.edu .
How to log on to facet-srv01 and access facethome remotely
We recommend using the fastx browser interface:
Then:
- Launch a gnome desktop session.
- Open a terminal.
>>ssh mcclogin
>>ssh fphysics@facet-srv01
- Select your profile.
>>facethome
Some useful commands
If you have passwordless ssh set up, this is pretty easy to use. They let you do some basic things on facet-srv01 without having to go through all these login steps
To run arbitrary commands on facet-srv01:
ssh -t USER@rhel6-64.slac.stanford.edu ssh -t USER@mcclogin ssh -t fphysics@facet-srv01 COMMAND
(Replace USER and COMMAND)
To transfer files from facet-srv01 to your local machine (leaves a copy on RHEL):
ssh -t USER@rhel6-64.slac.stanford.edu -t ssh USER@mcclogin “scp fphysics@facet-srv01:PATHTOFILE ~/transferStaging”; rsync -rP USER@$rhel6-64.slac.stanford.edu:~/transferStaging ~/transfer
(Replace USER and PATHTOFILE, mkdir ~/transferStaging on RHEL and mkdir ~/transfer on your local machine first)
You can also set these up as BASH functions in your .zshrc (or whatever)