berts-4865

berts-4865

SSH Error when adding private hex repo

mix hex.repo add oban https://getoban.pro/repo \
        --fetch-public-key SHA256:4/REDACTED/BIMLnK8NHcx/EWs+aIWPc \
        --auth-key REDACTED
        
** (UndefinedFunctionError) function :public_key.ssh_hostkey_fingerprint/2 is undefined or private, use ssh:hostkey_fingerprint/2 instead
    (public_key 1.15.1) :public_key.ssh_hostkey_fingerprint(:sha256, {:RSAPublicKey, REDACTED, 65537})
    (hex 2.0.6) lib/mix/tasks/hex.repo.ex:211: Mix.Tasks.Hex.Repo.show_public_key/1
    (hex 2.0.6) lib/mix/tasks/hex.repo.ex:222: Mix.Tasks.Hex.Repo.fetch_public_key/3
    (hex 2.0.6) lib/mix/tasks/hex.repo.ex:124: Mix.Tasks.Hex.Repo.add/3
    (mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
    (mix 1.14.0) lib/mix/cli.ex:84: Mix.CLI.run_task/2
Ubuntu Server 24.04
{:oban_web, "~> 2.10.3", repo: "oban"},
{:oban_pro, "~> 1.4.2", repo: "oban"},
{:oban, "~> 2.17.7"},
Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]
Elixir 1.14.0 (compiled with Erlang/OTP 24)

Marked As Solved

berts-4865

berts-4865

Solved.

Needed to install an extra Erlang package.

sudo apt install erlang-ssh

Also Liked

LostKobrakai

LostKobrakai

Elixir 1.14 doesn’t support OTP 26, so even if it’s not the source this should be addressed:

Where Next?

Popular in Questions Top

hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
mgjohns61585
Could someone help me? I’m making my first elixir program, number guessing game. I can’t figure out how to convert the user’s guess from ...
New
JulienCorb
I am trying to implement my new.html.eex file to create new posts on my website. new.html.eex: <h1>Create Post</h1> <%= ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29703 241
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54250 245
New

We're in Beta

About us Mission Statement