e4d83b3d18c8374de0fcb584cfa735c639f35b1b
duo-ssh-faq.md
... | ... | @@ -0,0 +1,35 @@ |
1 | +# Duo FAQ |
|
2 | + |
|
3 | +## how to setup two factor? |
|
4 | +You'll need to register your device with Duo to recieve security codes, and can receive these codes by phone call, text message, or Duomobile app. |
|
5 | + |
|
6 | + |
|
7 | +`` |
|
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 | +Set `DUO_PASSCODE` environmental variable to `push` (Duo mobile app), `call` (SMS) or `phone` (phone call) in `~/.bashrc`, `~/.cshrc`, or `~/.zshrc`. |
|
18 | + |
|
19 | +`` |
|
20 | +Host xtal200 |
|
21 | + Hostname xtal200.harvard.edu |
|
22 | + SendEnv DUO_PASSCODE |
|
23 | +`` |
|
24 | + |
|
25 | +## Examples |
|
26 | + |
|
27 | +### ssh |
|
28 | + |
|
29 | +*todo* |
|
30 | + |
|
31 | +### scp/rsync/sftp |
|
32 | + |
|
33 | +*todo* |
|
34 | + |
|
35 | + |