Add private key to index uploader
This commit is contained in:
parent
f8ed0c6599
commit
7cb98bf761
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ public class IndexUploader {
|
|||
uploadCredentials.user = args[i].substring("--user=".length());
|
||||
} else if (args[i].startsWith("--path=")) {
|
||||
uploadCredentials.path = args[i].substring("--path=".length());
|
||||
} else if (args[i].startsWith("--privKey=")) {
|
||||
((UploadSSHCredentials) uploadCredentials).privateKey = args[i].substring("--privKey=".length());
|
||||
} else if (args[i].startsWith("--knownHosts=")) {
|
||||
((UploadSSHCredentials) uploadCredentials).knownHosts = args[i].substring("--knownHosts=".length());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue