From b52a556abd7a28d14355af4c8bd75d7a1227cda8 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 10 Sep 2017 12:51:01 +0530 Subject: [PATCH] Reorder. --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 5f1160c2..712836b4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -146,8 +146,8 @@ example enforce an interactive sudo TTY and account password. bastion = router.ssh(hostname='bastion.mycorp.com') webserver = router.ssh(via=bastion, hostname='webserver') - fileserver = router.ssh(via=bastion, hostname='fileserver') webapp = router.sudo(via=webserver, username='webapp') + fileserver = router.ssh(via=bastion, hostname='fileserver') # Transparently tunnelled over fileserver -> .. -> sudo.webapp link fileserver.call(econtext.fakessh.run, webapp, [