I use ssh mylogin@server
to connect to a remote server... I am wondering how to copy the whole files from there to my local machine...
One reason to do this, is that, I could not compile a latex file on the server, there is an error: ! LaTeX Error: File tikz.sty not found.
I guess this error will disappear if I compile the same file on my local machine.
Another reason is that it seems that there are not too many tools on the server, for example, I can not open a pdf
by evince
, which is doable on my local machine.
Could anyone help?
I agree eith Engels Peralta, this is the simplest way.
From Nautilus go to
File -> Connect to Server...
Change type to SSH, then enter your SSH details and credentials.
Now it should show up in your file system pane on the left.
You can then browse, copy or whatever. Note that you do not need to have an ssh session active before connecting, this will initiate the SSH session. Be sure to create a bookmark so you can access from the bookmark menu. I use the same method to connect to a test webserver.
You can use nautilus for this just go to connect to server and then select ssh fill what is needed to connect then you can drag and drop to your local machine.
You can access the remote files as if they were on your machine with SSHFS. Install the sshfs package (
sudo apt-get install sshfs
). Make sure you are in thefuse
group (see the SSHFS page on the Ubuntu wiki). RunThe files under
~/server
are those of the remote machine, and you can work with all your applications on the local machine.