Basic postfix setup... can't start smtp-tunnel - ssh problem
In the guide, I got most of the way through, to where I've created the script /opt/smtp-tunnel and customized the $remoteuser and $remotehost lines as suggested. After saving that, I followed the instructions to make /opt/smtp-tunnel executable and start it up. That resulted in one of those questions you get the first time you SSH to a new location (authenticity can't be established, are you sure you want to continue? yes… permanently added 'bcdev.info, 96.126.97.84' (ECDSA) to the list of known hosts." Permission denied (publickey).
Here are the relevant lines that I customized in /opt/smtp-tunnel:
$remote_user = "foo";
$remote_host = "bcdev.info";
foo (altered in this post for safety) is the account on my linode that I use for most things instead of root.
bcdev.info is my domain.
My only guess about what's wrong so far is that maybe I was supposed to put
Other pertinent info:
in /etc/postfix/main.cf:
myhostname = bcdev.info
Also, what I entered for "system mail name", the single option that came up in the config screen that auto-runs when you apt-get install postfix, was: bcdev.info.
This is my first time through this and don't have any better idea of where I went wrong. Obviously something to do with SSH keys, but I thought I already had those set up, having already successfully installed Postgresql and system users for it, etc.