Это старая версия документа!


SCP

Скопировать файлы с удаленной машины на локальную в папку /tmp:

scp -P 6166 -rp ваш_логин@имя_хоста.ru:./ /tmp 

Скопировать файлы с локальной машины на удаленную:

scp -P 6166 -rp ./ ваш_логин@имя_хоста.ru:/tmp
  • -P 6166 - Порт

SFTP

sftp root@site.ru

Remot mount/Удаленое монтирование

mount -tfuse sshfs#root@hosting.reklamu.ru:tmp ./test
apt-get install sshfs
mount -tsshfd sshfs#root@hosting.reklamu.ru:tmp ./test
mount -tsshfs sshfs#root@hosting.reklamu.ru:tmp ./test
mount sshfs#root@hosting.reklamu.ru:tmp ./test