search for: batch_mode

Displaying 20 results from an estimated 21 matches for "batch_mode".

2001 Apr 06
1
-n vs batch_mode vs batch_flag
...k? When you say ssh -n, it sets stdin_null_flag but not batch mode. When the client is choosing authmethods, there is a batch_flag that is tested to see (presumably) if we are in batch mode or perhaps if -n has been given. But nothing sets it. It looks like it's supposed to point to options.batch_mode, but it's never even initialized! Even if it did point to batch_mode, that's independent of -n, so when you say -n it still (tries to) ask for a password. % ssh -n localhost & [1] 5220 % tomh at localhost's password: [1] + Suspended (tty input) ssh -n localhost It se...
2005 Feb 17
1
SFTP batch mode patch
...ak; case 'P': sftp_direct = optarg; diff -ur openssh-3.9p1-orig\sshconnect.c openssh-3.9p1\sshconnect.c --- openssh-3.9p1-orig\sshconnect.c Mon Jun 21 22:56:02 2004 +++ openssh-3.9p1\sshconnect.c Thu Oct 14 09:02:32 2004 @@ -537,8 +537,11 @@ char *p; int ret = -1; - if (options.batch_mode) + if (options.batch_mode) { + logit(prompt); + logit("Replied NO (batch mode)"); return 0; + } for (msg = prompt;;msg = again) { p = read_passphrase(msg, RP_ECHO); if (p == NULL ||
2007 Aug 22
0
Patch to allow checking of v1 keys on remote host.
...*/ if (type != SSH_SMSG_AUTH_RSA_CHALLENGE) packet_disconnect("Protocol error during RSA authentication: %d", type); @@ -256,7 +270,15 @@ else private = key_load_private_type(KEY_RSA1, authfile, "", NULL, &perm_ok); - if (private == NULL && !options.batch_mode && perm_ok) { + + /*if -u flag is set just check to see if key is valid and exit.*/ + if (options.checkey && perm_ok) { + snprintf(buf, sizeof(buf), "RSA key '%.100s' is Valid",comment); + xfree(comment); + packet_disconnect("%s",buf); +...
1999 Dec 10
2
[David Huggins-Daines <dhd@plcom.on.ca>] Bug#52414: ssh-add uses ssh-askpass, but ssh doesn't
...rmine whether to use ssh-askpass or not */ +extern int use_askpass; + /* * Connect to the given ssh server using a proxy command. */ @@ -538,9 +541,16 @@ char buf[300]; snprintf(buf, sizeof buf, "Enter passphrase for RSA key '%.100s': ", comment); - if (!options.batch_mode) - passphrase = read_passphrase(buf, 0); - else { + if (!options.batch_mode) { + if (use_askpass) { + const char * askpass; + if ((askpass = getenv(SSH_ASKPASS_ENV))) + passphrase = ssh_askpass(askpass, buf); + else + passphrase = ssh_askpass(SSH_ASKPASS_DEFAULT, buf); + }...
2010 Jan 12
2
[patch] Automatically add keys to agent
..._private_type(KEY_UNSPEC, filename, "", NULL, &perm_ok); - if (!perm_ok) + private = key_load_private_type(KEY_UNSPEC, filename, "", &comment, &perm_ok); + if (!perm_ok) { + if (comment) + xfree(comment); return NULL; + } if (private == NULL) { - if (options.batch_mode) + if (options.batch_mode) { + if (comment) + xfree(comment); return NULL; + } snprintf(prompt, sizeof prompt, "Enter passphrase for key '%.100s': ", filename); for (i = 0; i < options.number_of_password_prompts; i++) { passphrase = read_passphrase(p...
2003 Nov 27
2
Question about adding another parameter for OpenSSH
...if (public->flags & KEY_FLAG_EXT) private = public; else - private = key_load_private_type(KEY_RSA1, authfile, "", NULL); + private = key_load_private_type(KEY_RSA1, authfile, "", NULL, + options.group_private_key); if (private == NULL && !options.batch_mode) { snprintf(buf, sizeof(buf), "Enter passphrase for RSA key '%.100s': ", comment); @@ -251,7 +252,8 @@ passphrase = read_passphrase(buf, 0); if (strcmp(passphrase, "") != 0) { private = key_load_private_type(KEY_RSA1, - authfile, passphrase,...
2006 Feb 04
2
[PATCH] allow user to update changed key in known_hosts
...arg == '\0') @@ -452,6 +454,10 @@ *intptr = value; break; + case oOffendingKeyOverride: + intptr = &options->offending_key_override; + goto parse_flag; + case oCompression: intptr = &options->compression; goto parse_flag; @@ -979,6 +985,7 @@ options->batch_mode = -1; options->check_host_ip = -1; options->strict_host_key_checking = -1; + options->offending_key_override = -1; options->compression = -1; options->tcp_keep_alive = -1; options->compression_level = -1; @@ -1073,6 +1080,8 @@ options->check_host_ip = 1; if (opti...
2019 Jul 09
0
[Announce] Samba 4.11.0rc1 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Jul 09
0
[Announce] Samba 4.11.0rc1 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Aug 21
0
[Announce] Samba 4.11.0rc2 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Aug 21
0
[Announce] Samba 4.11.0rc2 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2001 Oct 02
2
AFS and tokenforwarding
...{ @@ -1226,6 +1245,7 @@ if (try_challenge_response_authentication()) goto success; } + /* Try password authentication if the server supports it. */ if ((supported_authentications & (1 << SSH_AUTH_PASSWORD)) && options.password_authentication && !options.batch_mode) { @@ -1255,22 +1275,6 @@ krb5_free_context(context); #endif -#ifdef AFS - /* Try Kerberos v4 TGT passing if the server supports it. */ - if ((supported_authentications & (1 << SSH_PASS_KERBEROS_TGT)) && - options.kerberos_tgt_passing) { - if (options.cipher == SSH_CIP...
2019 Sep 03
0
[Announce] Samba 4.11.0rc3 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Sep 03
0
[Announce] Samba 4.11.0rc3 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Sep 17
0
[Announce] Samba 4.11.0 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Sep 17
0
[Announce] Samba 4.11.0 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Sep 11
1
[Announce] Samba 4.11.0rc4 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2019 Sep 11
1
[Announce] Samba 4.11.0rc4 Available for Download
...database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb. This option is avaiable for the following sub commands: * domain provision * domain join * domain dcpromo * drs clone-dc-database LDB "batch_mode" ---------------- To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit. New LDB pack format ---------------...
2000 Sep 09
0
2.2.0p1 PATCH: ssh/scp/slogin will invoke ssh-askpass
...t interactive = isatty(STDIN_FILENO); + char *askpass = NULL; /* Try to load identification for the authentication key. */ public = key_new(KEY_RSA); @@ -244,7 +246,15 @@ snprintf(buf, sizeof buf, "Enter passphrase for RSA key '%.100s': ", comment); if (!options.batch_mode) - passphrase = read_passphrase(buf, 0); + if (!interactive && getenv("DISPLAY")) { + if (getenv(SSH_ASKPASS_ENV)) + askpass = getenv(SSH_ASKPASS_ENV); + else + askpass = SSH_ASKPASS_DEFAULT; + passphrase = ssh_askpass(askpass, buf); + } else { + passphra...
2003 Aug 10
9
updated gssapi diff
...&options->kerberos_tgt_passing; goto parse_flag; + case oGssAuthentication: + intptr = &options->gss_authentication; + goto parse_flag; + + case oGssDelegateCreds: + intptr = &options->gss_deleg_creds; + goto parse_flag; + case oBatchMode: intptr = &options->batch_mode; goto parse_flag; @@ -818,6 +833,8 @@ options->challenge_response_authentication = -1; options->kerberos_authentication = -1; options->kerberos_tgt_passing = -1; + options->gss_authentication = -1; + options->gss_deleg_creds = -1; options->password_authentication = -1;...