User/SSH new: Difference between revisions
Jump to navigation
Jump to search
Tag: Reverted |
(Replaced content with "== More advanced SSH usage, handling files == === Basic files copy=== Grid'5000 users have home directories in every Grid'5000 sites. But each site home directory is accessible in the access machines in a directory named after the site name. To copy <code class="file">myfile</code> from my workstation to my nancy home: {{Term|location=workstation|cmd=<code class="command">scp -J <code class="replace">jdoe</code>@<code class="host">access.grid5000.fr</code> </code> <...") Tags: Replaced Reverted |
||
| Line 1: | Line 1: | ||
== More advanced SSH usage, handling files == | == More advanced SSH usage, handling files == | ||
=== Basic files copy=== | === Basic files copy=== | ||
| Line 88: | Line 14: | ||
===rsync files copy/synchronisation=== | ===rsync files copy/synchronisation=== | ||
Copying <code class="file">mydir</code> to my rennes home with rsync through SSH: | Copying <code class="file">mydir</code> to my rennes home with rsync through SSH: | ||
{{Term|location=workstation|cmd=<code class="command">rsync -avz</code> <code class=" | {{Term|location=workstation|cmd=<code class="command">rsync -avz -e</code> '<code class="command">ssh -J</code> <code class="replace">jdoe</code>@<code class="host">access.grid5000.fr</code>' <code class="file">mydir</code> <code class="replace">jdoe</code>@<code class="host">rennes:</code>}} | ||
===tar/ssh files copy=== | ===tar/ssh files copy=== | ||
| Line 101: | Line 27: | ||
To unmount the remote filesystem : | To unmount the remote filesystem : | ||
{{Term|location=workstation|cmd=<code class="command">fusermount -u</code> <code class="file">~/remote_dir</code>}} | {{Term|location=workstation|cmd=<code class="command">fusermount -u</code> <code class="file">~/remote_dir</code>}} | ||
Revision as of 10:36, 28 September 2026
More advanced SSH usage, handling files
Basic files copy
Grid'5000 users have home directories in every Grid'5000 sites. But each site home directory is accessible in the access machines in a directory named after the site name.
To copy myfile from my workstation to my nancy home:
To copy myremotefile from my lyon home to my workstation:
To copy mydir from my workstation to my nancy home:
rsync files copy/synchronisation
Copying mydir to my rennes home with rsync through SSH:
tar/ssh files copy
Copying mydir to my rennes home with tar through SSH:
Mounting remote filesystem (sshfs)
To mount a remote filesystem using sshfs:
To unmount the remote filesystem :