How to fetchmail from ISP-b using SSH when ISP-a has socks?
My remote provider (ISP-b) has enabled SSH on my account, but am still
getting "secure connection... refused". What can I try next?
My local provider (ISP-a) is www.lafn.org that I use to dial-up (uses
a socks proxy "proxy.lafn.org:1080"). Fetchmail gets email from
mail.lafn.org using POP without a problem.
ISP-b also has POP email. I'm attempting to use fetchmail to get that
mail too.
I've tried this in .fetchmailrc (the real password will work using
WebMail through a browser; I can see email):
defaults
user cymbala is cymbala
no rewrite
poll localhost with protocol pop3 and port 11110:
preconnect "ssh -C -f cymbala@redpraxis.org -L 11110:redpraxis.org:110 sleep 5"
password Password;
Result: "secure connection... refused" and "fetchmail: pre-connection
command failed with status 256"
I've tried doing that ssh command by itself at a Bash prompt that
started using ssh-agent:
- used ssh-keygen to make a key.
- ssh-agent bash
- echo "keyPassword" | ssh-add -p
- ssh -C -f ... ...
- SAME RESULTS: "secure connection... refused."
Help, please! Here's an email from ISP-b:
------- Start of forwarded message -------
Envelope-to: cymbala@localhost
From: Christopher Joyce <cjoyce@CyberTitanNetwork.com>
To: Robert Cymbala <cymbaLa@lafn.org>
Subject: Re: fetchmail on Debian GNU/Linux
Date: Sat, 23 Jun 2001 13:56:52 -0700
Content-Type: text/plain;
charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-MIME-Autoconverted: from base64 to 8bit by zoon.lafn.org id f5NKopl51492
X-UIDL: C>%#!!f5!!(BX"!_0b"!
Hello Robert,
I have enabled SSH on your account. Please give the server about ten minutes to process the request
and give it another try.
Thanks,
Chris
- ----- Original Message -----
From: "Robert Cymbala" <cymbaLa@lafn.org>
To: <cjoyce@cybertitannetwork.com>
Sent: Saturday, June 23, 2001 1:30 PM
Subject: Re: fetchmail on Debian GNU/Linux
>
> Chris:
>
> Ignoring the fetchmail part for now, I tried this command from the
> root prompt on my GNU/Linux laptop. It's the command from
> "preconnect" from the example you emailed:
>
> ~# ssh -C -f cymbala@redpraxis.org -L 11110:redpraxis.org:110 sleep 5
>
> ...and got "secure connection... refused":
>
> Secure connection to redpraxis.org refused; reverting to insecure method.
> Using rsh. WARNING: Connection will not be encrypted.
> /usr/bin/rsh: No such file or directory
>
>
> I read somewhere that sshd is _required_ to run on the remove POP3
> mail server. Is sshd running on redpraxis.org ??
>
> -Robert
------- End of forwarded message -------
Reply to: