RemoteREPL.jl
RemoteREPL.jl copied to clipboard
Sharpen wording in docs on passwordless SSH connection
The docs state that the user should "Set up passwordless ssh to your server. Usually this means you have ssh-agent running with your private key loaded". Does it matter if ssh-agent is not used? It would be nice with an additional sentence along the lines of "This has only been tested by using ssh-agent for passwordless access", or "As long as you have passwordless access (i.e. you are not prompted for a password when running `ssh
You need passwordless access of some kind. Basically, running the ssh process to set up the tunnel shouldn't require any user input. I don't know whether there's options other than ssh-agent, so we could mention that.
We should probably just search for a good tutorial on how to set up ssh and link to that.
I just followed the setps in https://www.strongdm.com/blog/ssh-passwordless-login. Essentially just the following:
- On the client, run
ssh-keygen -t rsa. Accept default filename and location, and set no password. - On the server (RPi), create
.sshdir bymkdir -p .ssh - From the server, run
ssh-copy-id [email protected]to upload key
It was somewhat different for non-linux client, but those instructions are also included. Could you verify that this tutorial looks good, and follows best practices? This is my first go as passwordless SSH, so I have no idea what the best practices are, if there are any.