PDA

View Full Version : pop retrieval via ssh + fetchmail


EdSpidre
03-05-2001, 02:08 PM
I'm trying to retrieve my mail via fetchmail through an ssh tunnel and the only question I have is can you add your ssh key to ~/.ssh/authorized_keys and login via key authentication as opposed to password authentication? Or if someone knows a better way...

The page below has simple instructions:
http://www.tuxedo.org/~esr/fetchmail/fetchmail-FAQ.html#K3

Terra
03-05-2001, 03:06 PM
The following is a nice cheat sheet for reference:
http://www.tac.nyc.ny.us/~kim/ssh/#ssh-keygen

Also, make sure of which SSH is running on your server:
$ssh -V

We are still using the older (original) SSH 1.2.27 on most servers, until I can complete the server core upgrades to openssh (ver. 1 and 2)...

--
Terra
--I have lots of keyrings, yet still manage to misplace my keys from time to time--
FutureQuest

EdSpidre
03-05-2001, 04:33 PM
I made a stupid mistake and I found out that it has stupid consequences. I basically was doing too many things at once here at work and was deleting keys from other hosts in an authorized_keys file... anyway in the process I named the file authorized_hosts not keys and kept getting "temporary name resolution error" from openssh. Thanks anyway Terra.