Trasferire dei files via ZModem con ssh
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:
- . Run rz on the remote host.
- . Hit C-@ (Control-Space) to get the zssh shell.
- . Type in sz -e *.*2 to upload all files in your current folder to the remote server.
For downloading:
- . Run sz with the suitable parameters on the remote host.
- . Hit C-@ (Control-Space) to get the zssh shell.
- . Type in rz.
NOTA: non funziona se si è in una sessions screen