Password-free ssh authentication had been set.
There is a file /home/test.txt
in my remote_ip.
vim scp://root@remote_ip//home/test.txt
Why vim scp can't read file on my remote vps?
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
ls -al /home/test.txt
-rw-r--r-- 1 root root 100 Apr 23 12:40 /home/test.txt
enough space left on both local and remote device.
ssh credential established between my vps and local pc.
To connect with my vps.
ssh -i .ssh/id_rsa -p 1000 root@remote_ip
The port number is 1000 not standard 22.