]> scripts.mit.edu Git - www/raw.git/blob - faq/41.mdwn
Import from TextPattern
[www/raw.git] / faq / 41.mdwn
1 [[!meta title="Can I ssh to scripts.mit.edu to test my scripts?"]]
2 Yes, although you must [sign up](/web) for at least one of the
3 script services before you can connect. You can SSH to
4 scripts.mit.edu from any computer supporting Kerberized SSH, which
5 includes all Athena workstation or dialups. From Athena, you can
6 use the following command:
7
8 athena% **ssh -k scripts**
9
10 If you want to log in to access a locker other than your own, you
11 should log in with your locker name specified as the “username” for
12 the login:
13
14 athena% **ssh -k LOCKERNAME@scripts**
15
16 (with LOCKERNAME replaced by the name of your locker)
17
18 If you’re trying to log into scripts.mit.edu from home and you
19 don’t have an SSH client on your computer, you can log into
20 athena.dialup.mit.edu from
21 [http://athena.dialup.mit.edu/](http://athena.dialup.mit.edu/), and
22 log into scripts from there.
23
24 You can also log in directly from most personal computers, with the
25 correct software installed. We do not allow direct password logins
26 to scripts.mit.edu for security reasons, but you can install a
27 Kerberized SSH client.
28
29 ## Windows
30
31 To connect to scripts.mit.edu from a Windows computer, install MIT
32 SecureCRT **and Kerberos For Windows** from
33 [http://web.mit.edu/software/win.html](http://web.mit.edu/software/win.html).
34
35 Then, open MIT SecureCRT (from the Start menu). Click the “Quick
36 Connect” button in the toolbar of the Sessions dialog box that
37 appears (the second button from the left). Fill out the dialog that
38 appears, as follows:
39
40 Protocol: **SSH2**  
41 Hostname: **scripts.mit.edu**  
42 Port: **22**  
43 Firewall: **None**  
44 Username: [your Athena user name, or locker name]
45
46 In the “Authentication” selectbox, scroll down and click on
47 **GSSAPI** to highlight it. Make sure that the checkbox beside it
48 is checked. Then, use the black arrows to the right of the box to
49 move “GSSAPI” to the top of the list of Authentication methods.
50
51 Then, click **Connect** to connect to scripts.mit.edu. If you are
52 prompted for a username and password, please make sure you
53 installed Kerberos for Windows and selected GSSAPI; you **cannot**
54 log in to scripts.mit.edu with a username and password.
55
56 ## From a Mac
57
58 To connect to scripts.mit.edu from a Mac, download and install the
59 MIT Kerberos Extras from
60 [http://web.mit.edu/software/mac.html](http://web.mit.edu/software/mac.html).
61 Then, open “Terminal” (in /Applications/Utilities/), and type:
62
63     kinit AthenaUsername
64     ssh -k LockerName@scripts.mit.edu
65
66 The “-k” flag to ssh doesn’t exist for older MacOS X versions. For
67 these versions and with Apple’s default ssh configuration, it is
68 safe to not use this flag. If you have customized your ssh
69 configuration, make sure you have “GSSAPIAuthentication yes” and
70 “GSSAPIDelegateCredentials no” set for scripts.mit.edu.
71
72 ## From Linux or other UNIX
73
74 To connect from a Linux (or other UNIX) computer, install ssh and
75 Kerberos, and set up Kerberos to use the ATHENA.MIT.EDU realm. Many
76 Linux distributions provide packages that can do this for you. (If
77 you are using Debian or Ubuntu, you may want to consider using
78 [Debathena](http://debathena.mit.edu/), which will allow you to
79 access many Athena services from your own computer.) Then, run the
80 two Mac command-line commands listed above.
81
82
83