{"id":8358,"date":"2023-01-20T10:42:49","date_gmt":"2023-01-20T13:42:49","guid":{"rendered":"https:\/\/categoriaoutros.com.br\/?p=8358"},"modified":"2023-01-20T10:43:28","modified_gmt":"2023-01-20T13:43:28","slug":"linux-usando-rsync-com-porta-diferente-da-22","status":"publish","type":"post","link":"https:\/\/categoriaoutros.com.br\/?p=8358","title":{"rendered":"linux: Usando RSYNC com Porta Diferente da 22"},"content":{"rendered":"\n<p>Voc\u00ea pode usar <strong>rsync<\/strong> com uma porta diferente adicionando <strong>-e &#8220;ssh &#8211;port&#8221;<\/strong> ao comando.<\/p>\n\n\n\n<pre>\nrsync -avz -e \"ssh --port\" pasta_origem username@host.com:\/destino\n<\/pre>\n\n\n\n<p><strong>-e <\/strong>especifica um shell remoto a ser usado. Nesse caso, configuramos para <strong>ssh<\/strong>. Depois de defini-lo como ssh, podemos usar outras op\u00e7\u00f5es que acompanham o ssh.<\/p>\n\n\n\n<p><strong>-avz<\/strong> s\u00e3o outros sinalizadores que costumo usar para <strong>rsync<\/strong>. Eles significam, respectivamente, <strong>arquivar<\/strong>, <strong>detalhado<\/strong> e <strong>compactar<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>-a<\/strong>  modo de arquivo. Isso \u00e9 complexo, pois \u00e9 igual a -rlptgoD. Basicamente, isso faz muitas melhorias para facilitar a c\u00f3pia recursiva de pastas.<\/li><li><strong>-v<\/strong> vem de verboso. Isso me permite ver o que est\u00e1 acontecendo, o que rsync est\u00e1 fazendo.<\/li><li><strong>-z<\/strong> comprimir. Isso torna a transfer\u00eancia mais r\u00e1pida comprimindo os dados.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voc\u00ea pode usar rsync com uma porta diferente adicionando -e &#8220;ssh &#8211;port&#8221; ao comando. rsync -avz -e &#8220;ssh &#8211;port&#8221; pasta_origem username@host.com:\/destino -e especifica um shell remoto a ser usado. Nesse caso, configuramos para ssh. Depois de defini-lo como ssh, podemos usar outras op\u00e7\u00f5es que acompanham o ssh. -avz s\u00e3o outros sinalizadores que costumo usar para&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/categoriaoutros.com.br\/?p=8358\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;linux: Usando RSYNC com Porta Diferente da 22&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,2918],"tags":[3558,3557,3556],"class_list":["post-8358","post","type-post","status-publish","format-standard","hentry","category-informatica-dicas","category-linux","tag-rsync-com-outra-porta","tag-rsync-porta-22","tag-rsync-porta-diferente-da-22"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/categoriaoutros.com.br\/?p=8358\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros\" \/>\n<meta property=\"og:description\" content=\"Voc\u00ea pode usar rsync com uma porta diferente adicionando -e &#8220;ssh &#8211;port&#8221; ao comando. rsync -avz -e &quot;ssh --port&quot; pasta_origem username@host.com:\/destino -e especifica um shell remoto a ser usado. Nesse caso, configuramos para ssh. Depois de defini-lo como ssh, podemos usar outras op\u00e7\u00f5es que acompanham o ssh. -avz s\u00e3o outros sinalizadores que costumo usar para...Read More &ldquo;linux: Usando RSYNC com Porta Diferente da 22&rdquo; &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/categoriaoutros.com.br\/?p=8358\" \/>\n<meta property=\"og:site_name\" content=\"Categoria Outros\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/categoriaoutros\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-20T13:42:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:43:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/pinguim-paginas-padrao.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1022\" \/>\n\t<meta property=\"og:image:height\" content=\"722\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Categoria: Outros\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CategoriaOutros\" \/>\n<meta name=\"twitter:site\" content=\"@CategoriaOutros\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Categoria: Outros\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358#article\",\"isPartOf\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358\"},\"author\":{\"name\":\"Categoria: Outros\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/ba0f432708449436912bd6736864bb40\"},\"headline\":\"linux: Usando RSYNC com Porta Diferente da 22\",\"datePublished\":\"2023-01-20T13:42:49+00:00\",\"dateModified\":\"2023-01-20T13:43:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358\"},\"wordCount\":118,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/#organization\"},\"keywords\":[\"rsync com outra porta\",\"rsync porta 22\",\"rsync porta diferente da 22\"],\"articleSection\":[\"Inform\u00e1tica\",\"Linux\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/categoriaoutros.com.br\/?p=8358#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358\",\"url\":\"https:\/\/categoriaoutros.com.br\/?p=8358\",\"name\":\"linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros\",\"isPartOf\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/#website\"},\"datePublished\":\"2023-01-20T13:42:49+00:00\",\"dateModified\":\"2023-01-20T13:43:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/categoriaoutros.com.br\/?p=8358\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/categoriaoutros.com.br\/?p=8358#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/categoriaoutros.com.br\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"linux: Usando RSYNC com Porta Diferente da 22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#website\",\"url\":\"https:\/\/categoriaoutros.com.br\/\",\"name\":\"Categoria Outros\",\"description\":\"Assuntos Diversos\",\"publisher\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/categoriaoutros.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#organization\",\"name\":\"Categoria Outros\",\"alternateName\":\"Categoria Outros\",\"url\":\"https:\/\/categoriaoutros.com.br\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/categoriaoutros-logo.jpg\",\"contentUrl\":\"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/categoriaoutros-logo.jpg\",\"width\":400,\"height\":400,\"caption\":\"Categoria Outros\"},\"image\":{\"@id\":\"https:\/\/categoriaoutros.com.br\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/categoriaoutros\",\"https:\/\/twitter.com\/CategoriaOutros\",\"https:\/\/br.pinterest.com\/CategoriaOutros\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/ba0f432708449436912bd6736864bb40\",\"name\":\"Categoria: Outros\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed97775f0ab50750ed638ed3417ea85e19ced2c648da167a108e393ae5fd9e33?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed97775f0ab50750ed638ed3417ea85e19ced2c648da167a108e393ae5fd9e33?s=96&d=mm&r=g\",\"caption\":\"Categoria: Outros\"},\"sameAs\":[\"http:\/\/categoriaoutros.com.br\"],\"url\":\"https:\/\/categoriaoutros.com.br\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/categoriaoutros.com.br\/?p=8358","og_locale":"pt_BR","og_type":"article","og_title":"linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros","og_description":"Voc\u00ea pode usar rsync com uma porta diferente adicionando -e &#8220;ssh &#8211;port&#8221; ao comando. rsync -avz -e \"ssh --port\" pasta_origem username@host.com:\/destino -e especifica um shell remoto a ser usado. Nesse caso, configuramos para ssh. Depois de defini-lo como ssh, podemos usar outras op\u00e7\u00f5es que acompanham o ssh. -avz s\u00e3o outros sinalizadores que costumo usar para...Read More &ldquo;linux: Usando RSYNC com Porta Diferente da 22&rdquo; &raquo;","og_url":"https:\/\/categoriaoutros.com.br\/?p=8358","og_site_name":"Categoria Outros","article_publisher":"https:\/\/www.facebook.com\/categoriaoutros","article_published_time":"2023-01-20T13:42:49+00:00","article_modified_time":"2023-01-20T13:43:28+00:00","og_image":[{"width":1022,"height":722,"url":"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/pinguim-paginas-padrao.webp","type":"image\/webp"}],"author":"Categoria: Outros","twitter_card":"summary_large_image","twitter_creator":"@CategoriaOutros","twitter_site":"@CategoriaOutros","twitter_misc":{"Escrito por":"Categoria: Outros","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/categoriaoutros.com.br\/?p=8358#article","isPartOf":{"@id":"https:\/\/categoriaoutros.com.br\/?p=8358"},"author":{"name":"Categoria: Outros","@id":"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/ba0f432708449436912bd6736864bb40"},"headline":"linux: Usando RSYNC com Porta Diferente da 22","datePublished":"2023-01-20T13:42:49+00:00","dateModified":"2023-01-20T13:43:28+00:00","mainEntityOfPage":{"@id":"https:\/\/categoriaoutros.com.br\/?p=8358"},"wordCount":118,"commentCount":0,"publisher":{"@id":"https:\/\/categoriaoutros.com.br\/#organization"},"keywords":["rsync com outra porta","rsync porta 22","rsync porta diferente da 22"],"articleSection":["Inform\u00e1tica","Linux"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/categoriaoutros.com.br\/?p=8358#respond"]}]},{"@type":"WebPage","@id":"https:\/\/categoriaoutros.com.br\/?p=8358","url":"https:\/\/categoriaoutros.com.br\/?p=8358","name":"linux: Usando RSYNC com Porta Diferente da 22 - Categoria Outros","isPartOf":{"@id":"https:\/\/categoriaoutros.com.br\/#website"},"datePublished":"2023-01-20T13:42:49+00:00","dateModified":"2023-01-20T13:43:28+00:00","breadcrumb":{"@id":"https:\/\/categoriaoutros.com.br\/?p=8358#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/categoriaoutros.com.br\/?p=8358"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/categoriaoutros.com.br\/?p=8358#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/categoriaoutros.com.br\/"},{"@type":"ListItem","position":2,"name":"linux: Usando RSYNC com Porta Diferente da 22"}]},{"@type":"WebSite","@id":"https:\/\/categoriaoutros.com.br\/#website","url":"https:\/\/categoriaoutros.com.br\/","name":"Categoria Outros","description":"Assuntos Diversos","publisher":{"@id":"https:\/\/categoriaoutros.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/categoriaoutros.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/categoriaoutros.com.br\/#organization","name":"Categoria Outros","alternateName":"Categoria Outros","url":"https:\/\/categoriaoutros.com.br\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/categoriaoutros.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/categoriaoutros-logo.jpg","contentUrl":"https:\/\/categoriaoutros.com.br\/wp-content\/uploads\/2023\/08\/categoriaoutros-logo.jpg","width":400,"height":400,"caption":"Categoria Outros"},"image":{"@id":"https:\/\/categoriaoutros.com.br\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/categoriaoutros","https:\/\/twitter.com\/CategoriaOutros","https:\/\/br.pinterest.com\/CategoriaOutros\/"]},{"@type":"Person","@id":"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/ba0f432708449436912bd6736864bb40","name":"Categoria: Outros","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/categoriaoutros.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ed97775f0ab50750ed638ed3417ea85e19ced2c648da167a108e393ae5fd9e33?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed97775f0ab50750ed638ed3417ea85e19ced2c648da167a108e393ae5fd9e33?s=96&d=mm&r=g","caption":"Categoria: Outros"},"sameAs":["http:\/\/categoriaoutros.com.br"],"url":"https:\/\/categoriaoutros.com.br\/?author=1"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/posts\/8358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8358"}],"version-history":[{"count":2,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/posts\/8358\/revisions"}],"predecessor-version":[{"id":8360,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=\/wp\/v2\/posts\/8358\/revisions\/8360"}],"wp:attachment":[{"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/categoriaoutros.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}