Mercurial > emacs
comparison doc/misc/gnus.texi @ 93446:baad832293a3
* gnus.texi (Example Methods): Fix description about ssh-agent.
(Indirect Functions): Fix the default value of nntp-telnet-command;
remove link to connect.html.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Mon, 31 Mar 2008 04:38:58 +0000 |
parents | 4482f387c2fe |
children | 0ffd6dd0f75d |
comparison
equal
deleted
inserted
replaced
93445:87b6e6f4a207 | 93446:baad832293a3 |
---|---|
13124 (nntp-via-rlogin-command "ssh") | 13124 (nntp-via-rlogin-command "ssh") |
13125 @end lisp | 13125 @end lisp |
13126 | 13126 |
13127 See also @code{nntp-via-rlogin-command-switches}. Here's an example for | 13127 See also @code{nntp-via-rlogin-command-switches}. Here's an example for |
13128 an indirect connection: | 13128 an indirect connection: |
13129 | |
13129 @lisp | 13130 @lisp |
13130 (setq gnus-select-method | 13131 (setq gnus-select-method |
13131 '(nntp "indirect" | 13132 '(nntp "indirect" |
13132 (nntp-address "news.server.example") | 13133 (nntp-address "news.server.example") |
13133 (nntp-via-user-name "intermediate_user_name") | 13134 (nntp-via-user-name "intermediate_user_name") |
13135 (nntp-via-rlogin-command "ssh") | 13136 (nntp-via-rlogin-command "ssh") |
13136 (nntp-via-rlogin-command-switches ("-C")) | 13137 (nntp-via-rlogin-command-switches ("-C")) |
13137 (nntp-open-connection-function nntp-open-via-rlogin-and-netcat))) | 13138 (nntp-open-connection-function nntp-open-via-rlogin-and-netcat))) |
13138 @end lisp | 13139 @end lisp |
13139 | 13140 |
13141 This means that you have to have set up @code{ssh-agent} correctly to | |
13142 provide automatic authorization, of course. | |
13143 | |
13140 If you're behind a firewall, but have direct access to the outside world | 13144 If you're behind a firewall, but have direct access to the outside world |
13141 through a wrapper command like "runsocks", you could open a socksified | 13145 through a wrapper command like "runsocks", you could open a socksified |
13142 netcat connection to the news server as follows: | 13146 netcat connection to the news server as follows: |
13143 | 13147 |
13144 @lisp | 13148 @lisp |
13145 (nntp "outside" | 13149 (nntp "outside" |
13146 (nntp-pre-command "runsocks") | 13150 (nntp-pre-command "runsocks") |
13147 (nntp-open-connection-function nntp-open-netcat-stream) | 13151 (nntp-open-connection-function nntp-open-netcat-stream) |
13148 (nntp-address "the.news.server")) | 13152 (nntp-address "the.news.server")) |
13149 @end lisp | 13153 @end lisp |
13150 | |
13151 This means that you have to have set up @code{ssh-agent} correctly to | |
13152 provide automatic authorization, of course. And to get a compressed | |
13153 connection, you have to have the @samp{Compression} option in the | |
13154 @code{ssh} @file{config} file. | |
13155 | 13154 |
13156 | 13155 |
13157 @node Creating a Virtual Server | 13156 @node Creating a Virtual Server |
13158 @subsection Creating a Virtual Server | 13157 @subsection Creating a Virtual Server |
13159 | 13158 |
13700 | 13699 |
13701 @table @code | 13700 @table @code |
13702 @item nntp-telnet-command | 13701 @item nntp-telnet-command |
13703 @vindex nntp-telnet-command | 13702 @vindex nntp-telnet-command |
13704 Command used to connect to the real @acronym{NNTP} server from the | 13703 Command used to connect to the real @acronym{NNTP} server from the |
13705 intermediate host. The default is @samp{nc}. You can also use other | 13704 intermediate host. The default is @samp{telnet}. |
13706 programs like @uref{http://www.imasy.or.jp/~gotoh/ssh/connect.html, | |
13707 connect} instead. | |
13708 | 13705 |
13709 @item nntp-telnet-switches | 13706 @item nntp-telnet-switches |
13710 @vindex nntp-telnet-switches | 13707 @vindex nntp-telnet-switches |
13711 List of strings to be used as the switches to the | 13708 List of strings to be used as the switches to the |
13712 @code{nntp-telnet-command} command. The default is @code{("-8")}. | 13709 @code{nntp-telnet-command} command. The default is @code{("-8")}. |