Thierry Volpiatto <[email protected]> writes:
> Hi Michael,
Hi Thierry,
> It seems tramp-connection-timeout have no effect, its default value of
> 60 is not honoured.
--8<---------------cut here---------------start------------->8---
tramp-connection-timeout is a variable defined in `tramp.el'.
Its value is 60
Documentation:
Defines the max time to wait for establishing a connection (in seconds).
This can be overwritten for different connection types in `tramp-methods'.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.4 of Emacs.
--8<---------------cut here---------------end--------------->8---
And indeed, it is overwritten by another value for "sudo" in
tramp-methods:
--8<---------------cut here---------------start------------->8---
("sudo"
(tramp-login-program "sudo")
(tramp-login-args
(("-u" "%u")
("-s")
("-H")
("-p" "Password:")))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-args
("-c"))
(tramp-connection-timeout 10))
--8<---------------cut here---------------end--------------->8---
> Thanks.
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel