Commit 66036d06 authored by Carlos Juliano Viana's avatar Carlos Juliano Viana
Browse files

Adicionando seção referente a configuração para uso do mecanismo de transferência via SSH.

[SOMA-2584]
Showing with 19 additions and 0 deletions
+19 -0
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment