Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clewsy
scripts
Commits
9031ec87
Commit
9031ec87
authored
Oct 11, 2020
by
clewsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting.
parent
b69bb014
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
24 deletions
+17
-24
ball.sh
ball.sh
+6
-13
bu.sh
bu.sh
+11
-11
No files found.
ball.sh
View file @
9031ec87
...
...
@@ -52,20 +52,13 @@ Options: -q Quiet mode - suppress most output.
VERBOSITY
=
""
## Define the default verbosity (i.e. none). Can be changed with option -v.
DEST
=
"/dev/null"
## Default destination for output. Change to /dev/stdout with option -v.
######### Define options to be used by ssh.
## Options are: "-4" : IPV4
## "-6" : IPV6
## "-o StrictHostKeyChecking=no" : Disable user verification for connecting to unknown (not yet authenticated) host.
## "-o UserKnownHostsFile=/dev/null" : Disable automatically saving "newly discovered" hosts to the default knownhosts file.
## "-o BatchMode=yes" : Disable password prompts and host key confirmation requests.
## "-o ConnectTimeout=#" : Stop attempting the connection after # seconds.
#SSH_OPTIONS="-4 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=4"
######### Define array of options to be used by ssh.
SSH_OPTIONS
=(
-4
"-o StrictHostKeyChecking=no"
"-o UserKnownHostsFile=/dev/null"
"-o BatchMode=yes"
"-o ConnectTimeout=4"
-4
## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no"
## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null"
## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes"
## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4"
## Stop attempting the connection after specified number of seconds.
)
##########Interpret options
...
...
bu.sh
View file @
9031ec87
...
...
@@ -62,21 +62,21 @@ DEST="/dev/null" ## Default destination for command output. I.e. don't display
######### Define array of options to be used by ssh.
SSH_OPTIONS
=(
-4
## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no"
## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null"
## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes"
## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4"
## Stop attempting the connection after specified number of seconds.
-4
## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no"
## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null"
## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes"
## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4"
## Stop attempting the connection after specified number of seconds.
)
######### Define array of options to be used by rsync.
RSYNC_OPTIONS
=(
-4
## Use IPV4 (alternatively, -6 for IPV6).
--archive
## Archive mode, equivalent to -rlptgoD (no -H, -A, -X)
--relative
--verbose
--human-readable
--progress
-4
## Use IPV4 (alternatively, -6 for IPV6).
--archive
## Archive mode, equivalent to -rlptgoD (no -H, -A, -X)
--relative
--verbose
--human-readable
--progress
)
## Note using --archive is equivalent to:
## -r --recursive
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment