On Wed, Sep 21, 2016 at 10:18:55AM -0400, Gene Heskett wrote: > Where can I get a tut on doing the ssh keyfile login, and where can I > find a tutorial that is essentialy what Dr. Klepp had me do about a year > back that made these 3 commands in my rc.local file Just Work: > > su gene -c "sshfs gene@shop:/ /sshnet/shop" > su gene -c "sshfs gene@lathe:/ /sshnet/lathe" > su gene -c "sshfs gene@GO704:/ /sshnet/GO704"
You need to set up key authentication between your local account (as client) and the remote server. Usually this is done by having an ssh keypair (generating one if you don't already have one), then sending the public key (NOT the private key) to the remote machine, and appending it to the ~/.ssh/authorized_keys file of the target account. man ssh-keygen http://mywiki.wooledge.org/SshKeys