Fork me on GitHub
#spacemacs
<
2018-11-16
>
David Reno16:11:43

When a repl is started on a remote host and connected to, how does authentication work? I’m starting the remote repl this way:

pi@raspberrypi:~/helloworld $ lein repl :start :host 0.0.0.0 :port 4000
When I disconnect and reconnect, I never need to enter username pi or the password. Maybe credentials are cached from previous connections? Spacemacs reports:
[nREPL] Direct connection to 10.0.0.190:4000 established

practicalli-johnny10:11:18

@UBMFBEWKY I didnt think nrepl was a secure connection (I am no expert). My own understanding was you used a secure connection to tunnel the nrepl connection. Seems people use tramp or an ssl connection and then connect to the repl. I assume tramp connections are cached or tokens stored in a dotfile on your computer. It would be interesting to know if this is correct. I assume people in the #cider channel may know more