Vim remote without password

Hello,

i would like to use vim to edit remote file like this : vim scp://user@host//path/file
The problem is that i have to type the password every time i save the file (:w). That not only annoying, that make that process totally useless.

How to process please ?

Thanks !

Did you consider trying e.g. "public key authentication"?

1 Like

Thank you very much !
For anyone interested an lazy i followed those links :
kb.iu.edu/d/aews
Perform SSH and SCP Without Entering Password on openSSH