I am encountering an issue which, most likely, is not strictly associated with RemoteREPL but with the SSH library used.
I am an a Mac machine and I normally connect to a remote Linux server using a password-less ssh command (in the sense that I have all the authorized_hosts machinery in place). I configured my local Mac to use the keychain for connections, so my .ssh/config files contains the following lines:
Host *
UseKeychain yes
AddKeysToAgent yes
When I try to use RemoteREPL on the Mac things go a little funny:
julia> connect_repl("remote")
[ Info: Using session id ad04025a-d4ba-578f-3f26-799457abb9da
┌ Warning: Tunnel output
│ errors =
│ /Users/astrozot/.ssh/config: line 6: Bad configuration option: usekeychain
│ /Users/astrozot/.ssh/config: terminating, 1 bad configuration options
│
└ @ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/tunnels.jl:29
┌ Error: Exceeded maximum socket connection attempts
└ @ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/tunnels.jl:85
ERROR: IOError: connect: connection refused (ECONNREFUSED)
Stacktrace:
[1] wait_connected(x::Sockets.TCPSocket)
@ Sockets ~/.julia/juliaup/julia-1.12.5+0.aarch64.apple.darwin14/Julia-1.12.app/Contents/Resources/julia/share/julia/stdlib/v1.12/Sockets/src/Sockets.jl:544
[2] connect
@ ~/.julia/julep/julia-1.12.5+0.aarch64.apple.darwin14/Julia-1.12.app/Contents/Resources/julia/share/julia/stdlib/v1.12/Sockets/src/Sockets.jl:579 [inlined]
[3] connect
@ ~/.julia/juliaup/julia-1.12.5+0.aarch64.apple.darwin14/Julia-1.12.app/Contents/Resources/julia/share/julia/stdlib/v1.12/Sockets/src/Sockets.jl:565 [inlined]
[4]
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/tunnels.jl:78
[5] setup_connection!(conn::RemoteREPL.Connection)
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:137
[6]
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:127
[7] Connection
@ ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:116 [inlined]
[8]
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:536
[9] connect_remote
@ ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:520 [inlined]
[10]
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:493
[11] connect_repl(host::String, port::Int64)
@ RemoteREPL ~/.julia/packages/RemoteREPL/QNDCh/src/client.jl:484
[12] top-level scope
@ REPL[3]:1
Some type information was truncated. Use `show(err)` to see complete types.
Any help would be greatly appreciated!
I am encountering an issue which, most likely, is not strictly associated with RemoteREPL but with the SSH library used.
I am an a Mac machine and I normally connect to a remote Linux server using a password-less ssh command (in the sense that I have all the authorized_hosts machinery in place). I configured my local Mac to use the keychain for connections, so my .ssh/config files contains the following lines:
When I try to use RemoteREPL on the Mac things go a little funny:
Any help would be greatly appreciated!