From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3019 Path: news.gmane.org!not-for-mail From: Anomenat Newsgroups: gmane.emacs.gnus.user Subject: Re: prescript Date: 24 Sep 2003 01:31:52 +0100 Message-ID: <87wubz9gcn.fsf@anomenat.holyblasphemy.org> References: <87r82b83l3.fsf@anomenat.holyblasphemy.org> <87n0cvaheb.fsf@dimail.umc.com.ua> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669252 17331 80.91.229.2 (31 Jan 2006 01:00:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:00:52 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:34 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!peer1.news.newnet.co.uk!peer1.news.newnet.co.uk!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!dyke.uk.clara.net Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@clara.net (please include full headers) Original-X-Trace: 74125c0ad046016d2670720884468c6e0f5086016e601015009c060c3f70e59d Original-NNTP-Posting-Date: Wed, 24 Sep 2003 01:30:21 +0100 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3160 Original-Lines: 25 X-Gnus-Article-Number: 3160 Tue Jan 17 17:31:34 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3019 Archived-At: Dmitry Astapov writes: > Anomenat 00:03 21/9/2003 wrote: > > a> And that script is a script to login to my mail server with ssh and > a> forward port 2342 on localhost to port 110 on my mail server. But it > a> doesn't work. Gnus complains saying "connection refused localhost POP". > a> If I run the script from a shell prompt I can then telnet to port 2342 > a> on localhost and I connect to the pop3d on the mail server fine. What > a> am I doing wrong? > > a> Thank you very much for any help you can give. > > Any chance your are using ssh-agent or something similar and script > launched from gnus simply want to ask for a passphrase but is unable to do > so (no terminal)? I don't think so. I am using ssh-agent but that means that I shouldn't have to enter any password. I don't have to enter a password when I run the script from a terminal. The environment variables SSH_AUTH_SOCK and SSH_AGENT_PID are set in the script (read from ~/.ssh-agent which is generated by keychain). -- Anomenat