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:
https://hexdocs.pm/elixir/1.15/compatibility-and-deprecations.html

Where Next?

Popular in Questions Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
pgiesin
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database. Dep...
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement