search for: _path_ssh_user_conffile

Displaying 8 results from an estimated 8 matches for "_path_ssh_user_conffile".

2016 Aug 29
2
[PATCH] Make "ssh" try different configuration filenames
...-473,12 +474,34 @@ process_config_files(const char *host_arg, struct passwd *pw, int post_canon) fatal("Can't open user config file %.100s: " "%.100s", config, strerror(errno)); } else { - r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, - _PATH_SSH_USER_CONFFILE); - if (r > 0 && (size_t)r < sizeof(buf)) - (void)read_config_file(buf, pw, host, host_arg, - &options, SSHCONF_CHECKPERM | SSHCONF_USERCONF | - (post_canon ? SSHCONF_POSTCANON : 0)); + version_postfix = strchr(SSH_VERSION, '_'); + if (!version_postfix) +...
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
...SSLeay_add_all_algorithms(); + + /* Read options */ + initialize_options(&options); + + pw = getpwuid(original_real_uid = getuid()); + if (!pw) { + logit("You don't exist, go away!"); + exit(1); + } + + snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, + _PATH_SSH_USER_CONFFILE); + (void)read_config_file(buf, "", &options, 1); + (void)read_config_file(_PATH_HOST_CONFIG_FILE, "", + &options, 0); + fill_default_options(&options); /* At first, get a connection to the authentication agent. */ ac = ssh_get_authentication_connectio...
2001 Apr 12
1
ssh's readconf.c debug() goes to /dev/null
...ze "log" output. Since we are the client all output * actually goes to stderr. */ ==> log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); /* Read per-user configuration file. */ snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE); read_config_file(buf, host, &options); /* Read systemwide configuration file. */ read_config_file(_PATH_HOST_CONFIG_FILE, host, &options); /* Fill configuration defaults. */ fill_default_options(&options); /* reinit */ log_init(av[0], optio...
2009 Jun 30
4
[Bug 1615] New: the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615 Summary: the pathname length of home directory is limited to less than 256 chars Product: Portable OpenSSH Version: 5.2p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo:
2002 Aug 09
0
patch to ssh.c for KerberosTgtPassing and readability patches for config files and manpages
...-current Index: ssh.c =================================================================== RCS file: /cvs/openssh/ssh.c,v retrieving revision 1.158 diff -u -r1.158 ssh.c --- ssh.c 23 Jul 2002 21:03:03 -0000 1.158 +++ ssh.c 9 Aug 2002 21:43:30 -0000 @@ -159,8 +159,8 @@ _PATH_SSH_USER_CONFFILE); fprintf(stderr, " -A Enable authentication agent forwarding.\n"); fprintf(stderr, " -a Disable authentication agent forwarding (default).\n"); -#ifdef AFS - fprintf(stderr, " -k Disable Kerberos ticket and AFS token f...
2002 Jan 23
1
Fix AFS and Kerberos interaction
...10 @@ krb_afslog(cell, 0); krb_afslog(0, 0); +#ifdef KRB5 + krb5_afslog(s->authctxt->krb5_ctx, s->authctxt->krb5_fwd_ccache, + NULL, NULL); +#endif } #endif /* AFS */ --- ssh.c 2002/01/23 12:28:10 1.1 +++ ssh.c 2002/01/23 12:30:58 @@ -159,9 +159,9 @@ _PATH_SSH_USER_CONFFILE); fprintf(stderr, " -A Enable authentication agent forwarding.\n"); fprintf(stderr, " -a Disable authentication agent forwarding (default).\n"); -#ifdef AFS +#if defined(AFS) || defined(KRB5) fprintf(stderr, " -k Disable Kerberos ticket a...
2003 Jan 18
0
[Patch] User-dependent IdentityFile
...ets(buf, sizeof(buf), stdin) == NULL) @@ -750,6 +781,7 @@ struct stat st; int opt, type, fd, download = 0; FILE *f; + char buf[256]; extern int optind; extern char *optarg; @@ -767,6 +799,13 @@ exit(1); } + snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, + _PATH_SSH_USER_CONFFILE); + (void)read_config_file(buf, hostname, &options); + + /* Read systemwide configuration file after user config. */ + (void)read_config_file(_PATH_HOST_CONFIG_FILE, hostname, &options); + while ((opt = getopt(ac, av, "deiqpclBRxXyb:f:t:U:D:P:N:C:")) != -1) { switch (o...
2001 Oct 16
6
program-prefix does not work
...ot; /* * Configuration file in user\'s home directory. This file need not be *************** *** 80,86 **** * particularly secret. If the user\'s home directory resides on an NFS * volume where root is mapped to nobody, this may need to be world-readable. */ ! #define _PATH_SSH_USER_CONFFILE ".ssh/config" /* * File containing a list of those rsa keys that permit logging in as this --- 87,93 ---- * particularly secret. If the user\'s home directory resides on an NFS * volume where root is mapped to nobody, this may need to be world-readable. */ ! #d...