[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102711: * net/tramp.el (tramp-defaul
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102711: * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based |
Date: |
Mon, 27 Dec 2010 11:56:26 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102711
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Mon 2010-12-27 11:56:26 +0100
message:
* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
methods, otherwise ~/.ssh/config would be ignored.
modified:
lisp/ChangeLog
lisp/net/tramp-sh.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-12-26 23:17:09 +0000
+++ b/lisp/ChangeLog 2010-12-27 10:56:26 +0000
@@ -1,3 +1,8 @@
+2010-12-27 Michael Albinus <address@hidden>
+
+ * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
+ methods, otherwise ~/.ssh/config would be ignored.
+
2010-12-26 Stefan Monnier <address@hidden>
* emacs-lisp/rx.el: Make it a superset of sregex.
=== modified file 'lisp/net/tramp-sh.el'
--- a/lisp/net/tramp-sh.el 2010-12-14 20:33:33 +0000
+++ b/lisp/net/tramp-sh.el 2010-12-27 10:56:26 +0000
@@ -386,13 +386,13 @@
(add-to-list 'tramp-default-user-alist
`(,(concat "\\`" (regexp-opt '("su" "sudo" "ksu")) "\\'")
nil "root"))
+;; Do not add "ssh" based methods, otherwise ~/.ssh/config would be ignored.
(add-to-list 'tramp-default-user-alist
`(,(concat
"\\`"
(regexp-opt
- '("rcp" "remcp" "scp" "scp1" "scp2" "scpc" "scpx" "sftp"
- "rsync" "rsyncc" "rsh" "remsh" "ssh" "ssh1" "ssh2" "sshx"
- "telnet" "krlogin" "plink" "plink1" "pscp" "psftp" "fcp"))
+ '("rcp" "remcp" "rsh" "telnet" "krlogin"
+ "plink" "plink1" "pscp" "psftp" "fcp"))
"\\'")
nil ,(user-login-name)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102711: * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based,
Michael Albinus <=