Basically I got two ubuntu machines on network.
One is at ip
and other at
Two copy the files I have to use
scp source/file/path user@destination-ip and another problem of using scp is that I have to add ssh key to destination authorized keys.
This seems to be too complicated and I would like an easier method where I can just do
cp file/path some/other/path
To achieve this some/other/path should be a symbolic link from what I know.
I also don't have any problem if the destination-ip can be mounted on a path so that I can simply do
cp file/path 10.0.0.6/some/path
Basically I want to access the shared directory normally with normal cp or any normal command which can be used on local directories too, like ls,etc. And I want this because I have a application running in one ubuntu machine which creates log, and I have another application in another server which creates log, but I want the log to be created in one server only. In that application I have to give the log path, so I can give only a normal file path.
Just like windows you can share a folder over the LAN.
Also I want a solution which uses command line only strictly, because I have seen solutions at askubuntu.com with UI but my machines are on network and I can only ssh to them using command line.
I found NFS Mount system which is what I am looking for.
When I install NFS i get error:
Unable to locate package nfs-utils