【Linux】.ssh/configで定義したホスト名でscpする Linux Posted by: 2019年4月22日 no comments yet <スポンサーリンク> 普通に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 <スポンサーリンク> older newer コメントを残す コメントをキャンセルAllowed tags: you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>Please note: all comments go through moderation. Name (required) Email (required) Website キャプチャコード * Δemail confirm* post date* 日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)