株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

普通にscpすると以下のようなエラーが出て止まる。

ssh: hostname: Name or service not known

「-3」オプションをつけてあげる。

scp -pr -3 root@testament:/etc host1:/mnt

host1は.ssh/configで定義している

Host host1
	Hostname 192.168.0.45
	User yuta

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)