scp:-lオプション(帯域幅制限)は、scpがリモートサーバーから別のリモートサーバーに移動するときには適用されません。

scp:-lオプション(帯域幅制限)は、scpがリモートサーバーから別のリモートサーバーに移動するときには適用されません。

私がするなら:

$ scp -l 1024 remote1:/path/to/file remote2:/path/to/destination

Remote1でnloadを使用すると、scpで使用される帯域幅が思ったより1024kbits / sに制限されないことがわかります。

解決策が見つかりました。

$ ssh remote1 'scp -l 1024 /path/to/file remote2:/path/to/destination'

しかし、参考までに、最初のコマンドの帯域幅制限が機能しないのは通常の動作ですか?

ベストアンサー1

おすすめ記事