Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csbase-dev
sgarest-daemon
Commits
66036d06
Commit
66036d06
authored
Nov 11, 2019
by
Carlos Juliano Viana
Browse files
Adicionando seção referente a configuração para uso do mecanismo de transferência via SSH.
[SOMA-2584]
parent
ada8307e
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
66036d06
...
...
@@ -47,6 +47,25 @@ following to your `sgad.cfg`:
To use
`sga-exec`
when writing your own driver, the rule of thumb is to
avoid Lua's standard
`io.*`
and
`os.*`
routines.
## ssh-datatransfer
A SGA daemon can use a ssh data transfer mechanism to copy input and executable files to execute on remote
host sandbox. The SSH data transfer configuration can be enable with posix driver. Add the following to your
`sgad.cfg`
:
driver = "sga.driver.posix"
extra_config = {
csbase_transfer_name = "ssh-datatransfer",
csbase_csfs_root_dir = "/tmp/csfs_sandbox",
ssh_host = "localhost",
ssh_port = 22,
ssh_user_name = "csgrid",
ssh_private_key_path = "/home/csgrid/.ssh/csgrid_id_rsa"
}
`Note:`
Add
**csgrid_id_rsa**
private key in /home/csgrid/.ssh CSGrid server directory and fill
**csgrid_id_rsa.pub**
file content in SGA csgrid home directory _.ssh/authorized_keys_ file.
## Install
Requirements:
...
...
Write
Preview
Supports
Markdown
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