Re: HELP: setting up fetchmail over ssh withou password asking?
On (14/11/01 09:47), Bruno Boettcher wrote:
> poll mailserver
> with proto pop3
> user 'bboett' there is 'bboett' here:·
> preconnect "ssh -f -L 1234:mailserver:110 mailserver sleep 20 </dev/null >/dev/null";
>
> now this works, but it asks me to give a passwd.... with normal ssh i
> can login into the server without passwd (i exchanged the keys...)
>
> i tryed the --auth ssh switch in the commandline (it doesn't like it at
> all inside the .fetchmailrc) but i got a connection refused...
>From the ssh manpage:
-i identity_file
Selects the file from which the identity (private key) for RSA or
DSA authentication is read. Default is $HOME/.ssh/identity in the
user's home directory for protocol version 1, or $HOME/.ssh/id_rsa or
$HOME/.ssh/id_dsa in the user's home directory for protocol version 2.
Identity files may also be specified on a per-host basis in the
configuration file. It is possible to have multiple -i options (and
multiple identities specified in configuration files).
HTH
Ailbhe
--
Homepage: http://ailbhe.ossifrage.net/
Reply to: