[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Fetchnews via ssh - How?



On Thu, Oct 03, 2002 at 04:57:00PM -0700, Gary Taylor wrote:
> server=news.eskimo.com 
> 		viahost=localhost 
		^^^^^^^
> 		preconnect  = su gctaylor -c  "ssh -f -C -L 
		^^^^^^^^^

These are not leafnode option.

The ssh tunnel has to be built before fetchnews is called and
will not be set up by fetchnews itself. The following from my
crontab works fine for me (for a news server that is only
accessible from within uni-bonn.de and leafnode-2.x):

su joerg -c 'ssh1 -C -f -x -i /home/joerg/.ssh/specialkey -L
1119:news.uni-bonn.de:119 foobar@xxxxxxxxxxxxxxxxxxxxxxxxx
/bin/false'; /usr/local/sbin/fetchnews -S localhost:1119

HTH
	Jo:rg


-- 
       ---===  Encrypted mail welcome. Key-ID: 1024D/2B693EBF  ===---
Fortune cookie of the day:
A day without orange juice is like a day without orange juice.

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list