You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i just spent a few hours on this one. the problem is:
to get it half-way there set the following in .ssh/config
Host [build_host]
port [custom_port]
it then fails with this error:
[ -f ~/.profile ] && source ~/.profile
set -e
if [[ $(ssh-keygen -F "timeets.com" | grep -c found) = 0 ]]; then
echo "Authorizing timeets.com on timeets@timeets.com:" &> /dev/null
ssh-keyscan "timeets.com" 2>/dev/null &> /dev/null
ssh-keyscan "timeets.com" 2>/dev/null >> ~/.ssh/known_hosts
fi
which lead me down several rabbit holes. long story short ssh-keygen -F doesn't work with custom ports but can be made work by manually adding a fake entry. just copy the existing working entry for your host which is in the format:
[host]:port key_type key
and add an additional line with
host key_type key
this made everything work for me on a custom port. it would be amazing to get it working without these hacks or at least add the hacks to the docs :)
I've looked around quite a bit, but haven't found a way to configure edeliver to deploy to a server which doesn't run SSH on port 22.
I'm using edeliver v1.4.0 on Elixir 1.4.0
Current behavior
mix edeliver update
fails withssh: connect to host XXX port 22: Connection refused
Expected behavior
Have the ability to specify an SSH port in the edeliver config.
The text was updated successfully, but these errors were encountered: