Trasferire dei files via ZModem con ssh

From RVM Wiki
Revision as of 16:00, 24 July 2006 by Gabriele.vivinetto (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Se il client che si usa non supporta i trasferimenti ZModem (gnome-terminal, ad esempio), occorre installare zssh sul client

apt-get install zssh lrzsz

Sul server è sufficiente lrzsz

apt-get install lrzsz

e connettersi con:

zssh nome.client.dom

Quando si vuole trasferire un file, premere CTRL-SPACE e premere ? per ottenere la lista dei comandi.

The usual method to use the rz, sz packages via ZSSH is:

For uploading:

  1. . Run rz on the remote host.
  2. . Hit C-@ (Control-Space) to get the zssh shell.
  3. . Type in sz -e *.*2 to upload all files in your current folder to the remote server.

For downloading:

  1. . Run sz with the suitable parameters on the remote host.
  2. . Hit C-@ (Control-Space) to get the zssh shell.
  3. . Type in rz.


NOTA: non funziona se si è in una sessions screen

Riferimenti =