runssh 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.rdoc +3 -0
- data/lib/runsshlib/cli.rb +6 -0
- data/lib/runsshlib/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
data/lib/runsshlib/cli.rb
CHANGED
@@ -230,6 +230,12 @@ The command:
|
|
230
230
|
Is equivalent to:
|
231
231
|
scp -r root@some.host:/path/to/remotedirectory /path/to/localdirectory
|
232
232
|
|
233
|
+
The next command is a bit tricky:
|
234
|
+
runssh scp some host -- localfile :
|
235
|
+
Is equivalent to:
|
236
|
+
scp localfile root@some.host:
|
237
|
+
(This will copy the file "localfile" to root's home directory on some.host).
|
238
|
+
|
233
239
|
Options:
|
234
240
|
EOH
|
235
241
|
opt :login, "Override the login in the configuration.",
|
data/lib/runsshlib/version.rb
CHANGED
metadata
CHANGED