Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_ssh: Warning: Remote host denied X11 forwarding.



Z(4):akr@serein% scp coulee:<TAB>Warning: Remote host denied X11 forwarding.
file
00    bin   src   tmp   zsh   zz  

_ssh should disable forwarding to use ssh.

Index: Completion/User/_ssh
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_ssh,v
retrieving revision 1.3
diff -u -r1.3 _ssh
--- Completion/User/_ssh	2000/05/03 14:44:01	1.3
+++ Completion/User/_ssh	2000/05/09 11:58:34
@@ -3,7 +3,7 @@
 _remote_files () {
   # This is extremely simple-minded; could parse "ls -F" output to do
   # colorings and LIST_TYPES and so on, but I'm just not that ambitious.
-  compadd $(ssh ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)
+  compadd $(ssh -a -x ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)
 }
 
 _ssh () {
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author