Help with error "Bad owner or permissions on /home/username/.ssh/config"
まだ誰も着手していません。
- #51 @KronosTheLate による — マージされずにクローズ
評価
調査の方向性
Start by reproducing connect_remote("[email protected]", tunnel=:ssh) and inspect src/tunnels.jl at lines 31, 80, and 87, along with src/client.jl around lines 120-138. Compare the direct SSH behavior with the tunnel command and determine what setup or handling is required for the reported SSH configuration error and connection refusal.
索引モデルが issue の本文から書いたものです。
説明
I am able to run ~ $ssh [email protected] with no problem to connect passwordless to my RaspberryPi. When I try to run connect_remote on the client, I get the following error:
julia> connect_remote("[email protected]", tunnel=:ssh)
┌ Warning: Tunnel output
│ errors =
│ Bad owner or permissions on /home/dennishb/.ssh/config
│
└ @ RemoteREPL ~/.julia/packages/RemoteREPL/BFqrB/src/tunnels.jl:31
┌ Error: Exceeded maximum socket connection attempts
└ @ RemoteREPL ~/.julia/packages/RemoteREPL/BFqrB/src/tunnels.jl:87
ERROR: IOError: connect: connection refused (ECONNREFUSED)
Stacktrace:
[1] wait_connected(x::Sockets.TCPSocket)
@ Sockets ~/.julia/juliaup/julia-1.9.1+0.x64.linux.gnu/share/julia/stdlib/v1.9/Sockets/src/Sockets.jl:528
[2] connect
@ ~/.julia/juliaup/julia-1.9.1+0.x64.linux.gnu/share/julia/stdlib/v1.9/Sockets/src/Sockets.jl:563 [inlined]
[3] connect
@ ~/.julia/juliaup/julia-1.9.1+0.x64.linux.gnu/share/julia/stdlib/v1.9/Sockets/src/Sockets.jl:549 [inlined]
[4] connect_via_tunnel(host::String, port::Int64; retry_timeout::Int64, tunnel::Symbol, ssh_opts::Cmd, region::Nothing, namespace::Nothing)
@ RemoteREPL ~/.julia/packages/RemoteREPL/BFqrB/src/tunnels.jl:80
[5] setup_connection!(conn::RemoteREPL.Connection)
@ RemoteREPL ~/.julia/packages/RemoteREPL/BFqrB/src/client.jl:138
[6] #Connection#38
@ ~/.julia/packages/RemoteREPL/BFqrB/src/client.jl:128 [inlined]
[7] Connection
@ ~/.julia/packages/RemoteREPL/BFqrB/src/client.jl:120 [inlined]
[8] connect_remote(host::String, port::Int64; tunnel::Symbol, ssh_opts::Cmd, region::Nothing, namespace::Nothing)
@ RemoteREPL ~/.julia/packages/RemoteREPL/BFqrB/src/client.jl:487
[9] top-level scope
@ REPL[4]:1
on the server (Pi), there is a Julia process running, connected with SSH, with using RemoteREPL having been run. It may be noteworthy that I am using 1.6 on the server (Pi), and 1.9 on the client, which could be the problem. However, the error message indicates that something else is the problem.
The contents of .ssh.config (on the server side) were
Host 192.168.4.2
HostName 192.168.4.2
User pi
I do not recall having configured this manually. I tried adding the lines
Host 192.168.4.2
User pi
IdentityFile ~/.ssh/id_rsa
to the .ssh/config file on the client, but that did not change anything.
Any help on what may have gone wrong?
- 主要言語
- Julia
- スター
- 148
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaWeb/RemoteREPL.jl のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaWeb/RemoteREPL.jl#82 ·
-
good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaWeb/RemoteREPL.jl#80 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
JuliaWeb/RemoteREPL.jl#69 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaWeb/RemoteREPL.jl#67 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaWeb/RemoteREPL.jl#66 ·
JuliaWeb/RemoteREPL.jl の issue をすべて見る
似ている issue
-
documentation priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
epiforecasts/BVDOutbreakSize#1260 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TuringLang/Turing.jl#2917 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
Validate UserDemand return_factor対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信