diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2007-05-04 20:24:58 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2007-05-04 20:24:58 +0000 |
commit | 00b772c0babbb177a0955ee1dd6e917f3e77daf1 (patch) | |
tree | 2eb33d803c2177211880a6661cd5c2ff2ea9b05c | |
parent | bb3a5179567af5dbedacda68586945c7186a6dfe (diff) | |
download | pexpect-00b772c0babbb177a0955ee1dd6e917f3e77daf1.tar.gz |
Added comment abou SSH_ASKPASS pissing me off.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@470 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r-- | pexpect/pxssh.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index 560272b..b8c78fe 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -1,5 +1,6 @@ """This class extends pexpect.spawn to specialize setting up SSH connections. This adds methods for login, logout, and expecting the shell prompt. + $Id$ """ from pexpect import * @@ -90,6 +91,11 @@ class pxssh (spawn): self.PROMPT_SET_SH = "PS1='[PEXPECT]\$ '" self.PROMPT_SET_CSH = "set prompt='[PEXPECT]\$ '" self.SSH_OPTS = "-o'RSAAuthentication=no' -o 'PubkeyAuthentication=no'" + # Disabling X11 forwarding gets rid of the annoying SSH_ASKPASS from + # displaying a GUI password dialog. I have not figured out how to + # disable only SSH_ASKPASS without also disabling X11 forwarding. + # Unsetting SSH_ASKPASS on the remote side doesn't disable it! Annoying! + #self.SSH_OPTS = "-x -o'RSAAuthentication=no' -o 'PubkeyAuthentication=no'" self.force_password = False self.auto_prompt_reset = True |