nsuhach
Nerves 1.11.1 IEx not accessible through ssh
Made upgrade from elixir-1.15 OTP-25. to 1.17.2 OTP-27
My application on rpi still working ![]()
I can do ./upload
I can use sftp
and even run elixir command use
macOS> ssh address command
But my tries to start remote IEx
macOS> ssh address
return: Connection address closed.
I follow documentation:
In vm.args.eex change
-run elixir start_iex.
To
-run elixir start_cli
Thx
-----Thus ssh log info
…
debug1: Authentication succeeded (publickey).
Authenticated ***.local ([192.168.68.220]:22).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug1: pledge: network
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 6 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LC_CTYPE = UTF-8
debug2: channel 0: request env confirm 0
debug2: channel 0: request shell confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 360448 rmax 65536
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open → drain
debug2: channel 0: obuf empty
debug2: channel 0: chan_shutdown_write (i0 o1 sock -1 wfd 8 efd 9 [write])
debug2: channel 0: output drain → closed
…
Marked As Solved
nsuhach
Thx! I used 0.4.3 (and even did not know about 1.0 ![]()
Tomorrow will try
Also Liked
jjcarstens
This is actually related to the nerves_ssh version and not the nerves version.
What version of nerves_ssh are you using? You’ll need >= 1.0.0. There were changes to how Elixir 1.17 would start a shell that needed to be adjusted in newer versions of nerves_ssh lib.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









