質問編集履歴
1
ホスト情報の取得はベタ書きに変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
puts 'Start'
|
24
24
|
|
25
|
-
Net::SCP.start(
|
25
|
+
Net::SCP.start('192.168.1.3', 'myhostusername', password: 'myhostpassword') do |scp|
|
26
26
|
|
27
27
|
scp.upload! './Gemfile', '~/test.txt'
|
28
28
|
|