{"id":4080,"date":"2015-07-26T10:18:43","date_gmt":"2015-07-26T07:18:43","guid":{"rendered":"http:\/\/ageomash.ru\/?p=4080"},"modified":"2015-07-26T10:18:43","modified_gmt":"2015-07-26T07:18:43","slug":"ssh-file-transfer","status":"publish","type":"post","link":"https:\/\/ageomash.ru\/ssh-file-transfer\/","title":{"rendered":"\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e SSH"},"content":{"rendered":"
<\/a><\/p>\n \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 Linux \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0443\u0436\u0435 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e SSH \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 OpenSSH \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 SCP, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e SSH. scp [file] [username]@[ip server]:[directory]<\/strong> \u2013 \u0424\u0430\u0439\u043b [file] \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 [ip server] \u0432 \u043f\u0430\u043f\u043a\u0443 [directory]<\/em><\/p>\n \u041f\u0440\u0438\u043c\u0435\u0440: scp [username]@[ip server]:[file] [directory]\/[file]<\/strong> — \u0424\u0430\u0439\u043b [file] \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 [ip server] \u0432 \u043f\u0430\u043f\u043a\u0443 [directory]<\/em><\/p>\n \u041f\u0440\u0438\u043c\u0435\u0440: \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u0442\u0438\u043b\u0438\u0442\u044b SCP:<\/p>\n -q<\/strong> — \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u043f\u0440\u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0443, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043a\u0443\u0434\u0430 \u0432\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0435 \u0444\u0430\u0439\u043b \u0447\u0435\u0440\u0435\u0437 SSH \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0442\u0430\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u0451\u043d \u043d\u0430 \u0442\u043e\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0412\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0435.<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 Linux \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0443\u0436\u0435 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e SSH \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 OpenSSH \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 SCP, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e SSH. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0438\u043b\u0438 \u0437\u0430\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u043e SSH \u043d\u0430 … \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[1657,1658,1656,1655],"class_list":["post-4080","post","type-post","status-publish","format-standard","hentry","category-linux-2-3","tag-scp-ssh","tag-ssh-copy-file","tag-kopirovanie-faylov-ssh","tag-peredat-fayl-ssh"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/posts\/4080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/comments?post=4080"}],"version-history":[{"count":0,"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/posts\/4080\/revisions"}],"wp:attachment":[{"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/media?parent=4080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/categories?post=4080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ageomash.ru\/wp-json\/wp\/v2\/tags?post=4080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e.<\/p>\n\u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0438\u043b\u0438 \u0437\u0430\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u043e SSH \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440:<\/h3>\n
\nscp myfile.tmp xasah@nastroisam.ru:\/home\/xasah\/tmp\/myfile.tm<\/em>p\u00a0<\/p>\n\u041a\u0430\u043a \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u043e SSH \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/h3>\n
\nscp xasah@nastroisam.ru:\/tmp\/myfile.tmp \/home\/user\/myfile.tmp<\/em><\/p>\n
\n-r<\/strong> — \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u00a0\u043f\u0430\u043f\u043e\u043a \u0447\u0435\u0440\u0435\u0437 SSH
\n-v<\/strong> —\u00a0\u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f\u00a0\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c
\n-C<\/strong> — \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u00a0\u0441\u0436\u0430\u0442\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435
\n-P<\/strong> — \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430, \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430 22 \u0434\u043b\u044f\u00a0ssh<\/p>\n