﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>运维部落 &#187; scp</title>
	<atom:link href="http://help.vps12.com/tag/scp/feed" rel="self" type="application/rss+xml" />
	<link>https://help.vps12.com</link>
	<description>分享服务器运维及实践解决方案</description>
	<lastBuildDate>Sat, 25 Jan 2025 07:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>linux scp和rsyc限速传输</title>
		<link>https://help.vps12.com/1712.html</link>
		<comments>https://help.vps12.com/1712.html#comments</comments>
		<pubDate>Sat, 06 May 2017 18:59:36 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[编程实践]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[vps12.com]]></category>
		<category><![CDATA[服务器安全]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=1712</guid>
		<description><![CDATA[linux scp和rsyc限速传输 一、scp限速1M 　　scp -l 1000 vps12.com.tar.gz root@192.168.1.2:/root 　　#此时的传输速率就是1M/8＝100KB左右！经测试，如果数值在3000大约跑近4mbps。 二、rsync是（限制为 100k Bytes/s）： 　　rsync -auvzP&#8211;bwlimit=100 本地的文件 远程的文件 　　参数说明： 　　v：详细提示 　　a：以archive模式操作，复制目录、符号连接，等价于 -rlptgoD 。 　　z：压缩 　　u：只进行更新，防止本地新文件被重写，注意两者机器的时钟的同时 　　P：是综合了&#8211;partial &#8211;progress两个参数， 　　所以此时的rsync支持了断点续传 机房之间传文件一般都担心带宽占用太多，特别是在共用带宽的情况下。常用的两个软件都可以限速： scp可以加上 -l 参数： 引用 -l limit Limits the used bandwidth, specified in Kbit/s. rsync可以加上 &#8211;bwlimit 参数 引用 -i, &#8211;itemize-changes output a change-summary for all updates &#8211;log-format=FORMAT output filenames [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/1712.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scp和rsync限制传输速度</title>
		<link>https://help.vps12.com/1630.html</link>
		<comments>https://help.vps12.com/1630.html#comments</comments>
		<pubDate>Sun, 25 Sep 2016 11:06:38 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=1630</guid>
		<description><![CDATA[在linux下经常向其他服务器传输文件。有时在总带宽的限制下。不可能时时跑满占用带宽。这种情况下我们就需要对传输进行一定的限制和自定义。以下写出两个经常使用的传输命令的参数，希望对大家有一定帮助。 1.scp 限速100KB/s scp -l 1000 testfiles root@192.168.1.108 此时的传输速率就是1M/8=100KB左右 2.rsync 限速100KB/s rsync -auvzP &#8211;bwlimit=100 本地文件 远程文件 参数说明： v：详细提示 a：以archive模式操作，复制目录、符号连接，等价于 -rlptgoD 。 z：压缩 u：只进行更新，防止本地新文件被重写，注意两者机器的时钟的同时 P：是综合了&#8211;partial &#8211;progress两个参数， 此时的rsync支持了断点续传。 通常情况下。大文件，我建议大家使用rsync。因为有断点续传。可以有更好的选择。]]></description>
		<wfw:commentRss>https://help.vps12.com/1630.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scp reverse mapping checking getaddrinfo for bogon failed – POSSIBLE BREAK-IN ATTEMPT! 错误</title>
		<link>https://help.vps12.com/1503.html</link>
		<comments>https://help.vps12.com/1503.html#comments</comments>
		<pubDate>Wed, 13 Jan 2016 15:31:05 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[解决方案]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=1503</guid>
		<description><![CDATA[今天做ssh key scp做备份时，登录 报了一个 reverse mapping checking getaddrinfo for bogon failed – POSSIBLE BREAK-IN ATTEMPT! 错误，但不影响登录。可是看着不顺眼，查查资料解决它， 原因：ssh 登录的时候会做一系列安全检查，其中有一项是 主机名与ip地址是否能解析，如果解析不了就会报这个错误。 如果你有dns服务器 ，在服务器上做解析也行。总之，ping主机名必须解析到对应的ip地址， 解决方法一：在/etc/hosts 文件加上对方的主机名 ip地址，可以ping通主机名即可。 解决方法二：/etc/ssh/ssh_config /etc/ssh/sshd_config 修改这两个配置文件 GSSAPIAuthentication yes 改成 GSSAPIAuthentication no]]></description>
		<wfw:commentRss>https://help.vps12.com/1503.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
