custom.css
... ...
@@ -17,3 +17,8 @@
17 17
{
18 18
border: medium solid grey;
19 19
}
20
+
21
+#minibutton-latest-changes
22
+{
23
+ display:none;
24
+}
duo-ssh-faq.md
... ...
@@ -0,0 +1,75 @@
1
+# Duo FAQ
2
+
3
+## how to setup two factor?
4
+
5
+You'll need to register your device with Duo to receive security codes, and can receive these codes by phone call, text message, or Duomobile app.
6
+
7
+```bash
8
+ssh $username@duo-test.sbgrid.org
9
+Password: [input password]
10
+Please enroll at $url
11
+```
12
+
13
+Copy the url into a web browser, and follow the prompts to register.
14
+Please contact us at help@sbgrid.org if you encounter problems.
15
+
16
+## Configuring Options in SSH configuration
17
+
18
+Set `DUO_PASSCODE` environmental variable to `push` (Duo mobile app), `call` (SMS) or `phone` (phone call) in `~/.bashrc`, `~/.cshrc`, or `~/.zshrc`.
19
+
20
+```bash
21
+Host duo_test
22
+ Hostname duo-test.sbgrid.org
23
+ SendEnv DUO_PASSCODE
24
+```
25
+
26
+## Examples
27
+
28
+### ssh
29
+
30
+``
31
+user@system:~/$ ssh user0@duo-test.sbgrid.org
32
+Duo two-factor login for user0
33
+
34
+Enter a passcode or select one of the following options:
35
+
36
+ 1. Duo Push to XXX-XXX-1234
37
+ 2. Phone call to XXX-XXX-1234
38
+ 3. SMS passcodes to XXX-XXX-1234
39
+
40
+Passcode or option (1-3): 1
41
+
42
+Pushed a login request to your device...
43
+Success. Logging you in...
44
+```bash
45
+ _________________________________________
46
+/ Welcome to xtal200.harvard.edu user0. \
47
+\ You have landed on duo0-test. /
48
+ -----------------------------------------
49
+ \ ,__,
50
+ \ (oo)____
51
+ (__) )\
52
+ ||--|| *
53
+===================================================
54
+- OS X Software Installer is available for download.
55
+ - Visit our wiki for more information: https://sbgrid.org/wiki/client_install
56
+ - Please support SBGrid by citing the Consortium manuscript:
57
+ - eLife 2013;2:e01456, "Collaboration gets the most out of software".
58
+ - X-ray diffraction datasets should be deposited with SBGrid Data Bank
59
+ - http://data.sbgrid.org/.
60
+===================================================
61
+NOTE:
62
+ - We recommend using ssh keys https://sbgrid.org/corewiki/faq-setting-up-key-based-ssh
63
+ - Remote access FAQ at https://sbgrid.org/corewiki/faqs-remote
64
+ - 2FA SSH ACCESS is coming in October! See https://sbgrid.org/corewiki/duo-ssh-faq
65
+===================================================
66
+ Email help@sbgrid.org for assistance, questions, or feedback.
67
+
68
+
69
+```
70
+
71
+
72
+### scp/rsync/sftp
73
+
74
+These commands are non-interactive, so there is not analogous menu for push/call/sms - if the `DUO_PASSCODE` environmental method isn't set, this will use your default method.
75
+