diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 934b35c8840..8f50396b2b8 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-07 Michael Albinus + + * tramp.texi (Remote shell setup): Explain, how to change command + line arguments of remote "nc" listener. + 2014-07-31 Tassilo Horn * gnus.texi (Group Parameters): Document that `gcc-self' may also be a diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 06b302b6d4d..a245de82390 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -2062,6 +2062,32 @@ fi @end ifset @end ifinfo +@item @command{busybox} / @command{nc} +@cindex Unix command nc +@cindex nc Unix command + +The @command{nc} command will be used with the @option{nc} method. On +the remote host, a listener will be installed. Unfortunately, the +command line syntax for this has been changed with the different +@command{busybox} versions. @value{tramp} uses the following syntax +(see @code{tramp-methods}): + +@example +# nc -l -p 42 +@end example + +If your remote @command{nc} refuses to accept the @command{-p} +parameter, you could overwrite the syntax with the following form: + +@lisp +(add-to-list + 'tramp-connection-properties + `(,(regexp-quote "192.168.0.1") "remote-copy-args" (("-l") ("%r")))) +@end lisp + +@noindent +with @samp{192.168.0.1} being the IP address of your remote host +(@pxref{Predefined connection information}). @end table