If I run julia over ssh:
ssh user@host julia -i
it doesn’t seem to give me prompts, though it does respond to commands, even though I passed the -i “interactive” option. Is there any way I can get it to do this?
I’d also be interested in colors which don’t seem to appear.
I didn’t test this, but it’s probably related to whether a pseudo-terminal is allocated. What happens if you try
ssh -t user@host julia
? I don’t think you’ll need the -i.
-i
I can confirm that ssh -t works:
ssh -t
seth@hydrogen:~ $ ssh -t red julia Enter passphrase for key '/home/seth/.ssh/id_rsa': _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.2.0 (2019-08-20) _/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release |__/ | julia> 1 + 2 3
That’s perfect. Thanks!