4

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added :

user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev   0   0

I mount the share with the command : mount /mnt/share, and I indicates the password.

My question : I have noticed that the share is not mounted permanently. Then, is it possible to mount this share automatically without having to fill in the password each time ?

Thanks you

Kamiz
  • 43
  • 1
  • 3

1 Answers1

2

Try to use RSA keys instead of passwords

  1. Generate RSA keys on the server
  2. Copy to client
  3. use the rsa key instead of a password
stambata
  • 1,598
  • 3
  • 13
  • 18