Before you can log in remotely, you have to set up SKey. For all the gory details, look athttp://www.cs.brown.edu/system/skey/
While logged into the lab, go to a shell and go to the machine in.
cslab1g /u/jcn -> rsh in |
Run the keyinit program. You will be prompted for a password. Do not use your login password here. That would defeat the whole purpose.
in: keyinit Reminder - Only use this command if you are directly connected to the Brown CS network from a local machine or via a dialup line. Enter secret password: [type a new secret password] Again secret password: [nothing will show up here] ID jcn s/key is 99 in353402 TALL TO FUM OUST OTT JIVE in: exit |
You're all set to log in remotely!
Download the SKey software for your computer at home (or lounge, or wherever you happen to be logging in from).Find it at: ftp.cs.brown.edu/pub/skey/
Also, for Macs: Applications Mac... SKey Folder
And, if you have a web browser that can handle java applets, go to the department S/Key page and you don't even need to download the S/Key generator. Since the java is run locally, you can calculate your key through this page with no worries. Neat.
Make sure you have a telnet program. Talk to CIS about getting one (they should be available off the Application servers).
If you plan on using X based software, then you need to get an X-Server. If you're connected over a modem, you need to have your own X-Server or somehow get it off the fileserver.
For PCs, get Exceed.
For Macs, get eXodus.
Both are supported by CIS, so call them if you can't get your X-Server to work.
If you're working off of the Brown network, then you'll have to get another X-Server since both Exodus and eXceed are keyed. There is a free X-Server avaliable from MicroImages called MI/X. This software is completely unsupported by CIS or the CS department, but it is free, so you might want to give it a shot.
NOTE: If the things you want to do remotely can be done in a shell, then you don't need the X-Server.
Run your X-Server (assuming you're going to use one).
Log into the lab. But there's a firewall, so you have to telnet to in.cs.brown.edu.
Once you get there, use your SKey password.
Trying 128.148.33.15... Connected to in. Escape character is `^]'. UNIX(r) System V Release 4.0 (in) login: jcn s/key 30 in40171 (s/key required) Password: |
Don't type in your normal password here!This is where SKey is important. Run your Skey program that you downloaded earlier.
It will ask you for your sequence number.
Type in the part starting after the word s/key.
It will also ask for the secret password. Remember, this is your secret skey password, not your normal password.
Your SKey program will then spit back a bunch of words at you. Don't be afraid.
Type in those words at the password: prompt.
Or, if you're really savvy, cut and paste them into the telnet session.
login: jcn s/key 30 in40171 (s/key required) Password: VALE AMY YAWL DEFT OINT IF ******************************************************************** Brown University Computer Science Department Telnet Server Type "?" or "help" for a list of commands ******************************************************************** in: |
You're in!(Quite literally... you're logged into the machine in.cs.brown.edu).
You can't do anything on this machine though. You have to log into a machine in the Sunlab.
in: lw a b c d e f g 0 + 1 + + + + + + + 2 + + Tashana L + + + 3 Jung Kim + Stefano B + + + Edward Ta 4 Peter Sha Envall W. + + Kurt Viso Jonathan Yeuan-Min 5 Amit Sobt Michelle Baolin Ya + Greg Roth + + 6 Jonathan Jesse Cha Seth Proc Michael C Dequincy Michael W Kristine 7 Lisa Eklu Toopan Ba + + Maki Hana + Andrew St 8 Julie Isa Lubomir B + + Guthrie A + + 9 Marlena S Justin Mo Jacky Cha David Men + Chris Can in: |
Log in on a machine that isn't in use (those are the ones with the `+' signs instead of a name). Everything you do will be run on that machine, which will slow it down for the person who's actually logged in on the machine.Once you find a machine that isn't in use, rlogin to it.
in: rlogin cslab1g Last login: Fri Aug 9 17:19:44 from cslab4f Sun Microsystems Inc. SunOS 5.5 Generic November 1995 You have mail. cslab1g /u/jcn -> |
If you are running an X-Server, you have to tell the machine you're logged into where you are.Do you know your IP address? You need it to get this part to work. If you don't know it, you might be able to get it (or most of it by fingering yourself at in).
WHAT?!
cslab1g /u/jcn -> finger jcn@in [in] Login Name TTY Idle When Where jcn Jesse Chan-Norris pts/19 2:26 Fri 23:37 bootp-00.caswell |
Figure it out from there.
cslab1g /u/jcn -> setenv DISPLAY bootp-00.caswell.brown.edu:0 |
Almost. If you want, you can just run your programs now and they'll get sent to your X-Server and use your Mac or Windows windowing scheme. This can cause problems sometimes, however.Instead, you can run a window manager on the machine in the Lab. But try the other way first (ask a consultant if you're having problems.)
Let's say you wanted to run emacs-19. Read easy. Just type the name of the program...
cslab1g /u/jcn -> emacs-19 & |
Note the ampersand after the program name. You can put an ampersand after any program name to run this program in the background. Basically, you want to do this so you can regain control of the shell that you logged in to.To log out of the node you're on, and then out of in, just type exit at the prompts.
If you're logged in remotely and you're slowing down the machine in the lab, the user might complain to the consultant. The consultant will probably mail you or write you and ask you to find another node.If you happen to be in the bathroom or eating dinner at the time, the consultant might just kill your processes. Save your work often. And if you notice that someone else has logged into the machine you're working on, try to find another node.
This page is mainatined by Jesse Chan-Norris / jcn@cs.brown.edu