Displaying 12 results from an estimated 12 matches for "parse_token".
2004 Mar 23
2
A question on Compilation errors...
...compat && make)
make[1]: Nothing to be done for `all'.
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o -L.
-Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsd-compat
-lcrypto -lz
collect2: ld returned 1 exit status
readconf.o: In function `parse_token':
/openssh-3.8p1/readconf.c(263): undefined reference to `strcasecmp'
readconf.o: In function `process_config_line':
/openssh-3.8p1/readconf.c(723): undefined reference to `strcasecmp'
/openssh-3.8p1/readconf.c(725): undefined reference to `strcasecmp'
/openssh-3.8p1/readconf.c(...
2000 Feb 04
0
Patch that allows equal sign in options
...ce in strtok calls. */
#define WHITESPACE " \t\r\n"
+#define WHITESPACE_EQ " \t\r\n="
/*
@@ -237,7 +238,7 @@
return 0;
/* Get the keyword. (Each line is supposed to begin with a keyword). */
- cp = strtok(cp, WHITESPACE);
+ cp = strtok(cp, WHITESPACE_EQ);
opcode = parse_token(cp, filename, linenum);
switch (opcode) {
@@ -248,7 +249,7 @@
case oForwardAgent:
intptr = &options->forward_agent;
parse_flag:
- cp = strtok(NULL, WHITESPACE);
+ cp = strtok(NULL, WHITESPACE_EQ);
if (!cp)
fatal("%.200s line %d: Missing yes/no argument.", filenam...
2001 Feb 01
0
warnings on aix325
...`connect'
sshconnect.c:279: warning: implicit declaration of function `shutdown'
sshconnect.c:305: warning: implicit declaration of function `setsockopt'
sshconnect.c: In function `ssh_login':
sshconnect.c:683: warning: unsigned int format, uid_t arg (arg 2)
readconf.c: In function `parse_token':
readconf.c:220: warning: implicit declaration of function `strcasecmp'
clientloop.c: In function `get_current_time':
clientloop.c:232: warning: implicit declaration of function `gettimeofday'
clientloop.c: In function `client_check_window_change':
clientloop.c:337: warning: im...
2000 Jul 13
2
[PATCH] OpenSSH 2.1.1pl3 (portable), readconf.c and strsep(3)
...f.c from
OpenSSH 2.1.1pl3):
--- readconf.c.orig Wed Jul 12 01:45:27 2000
+++ readconf.c Thu Jul 13 10:11:36 2000
@@ -248,6 +248,7 @@
/* Get the keyword. (Each line is supposed to begin with a keyword). */
keyword = strsep(&s, WHITESPACE);
+ s += strspn(s, WHITESPACE);
opcode = parse_token(keyword, filename, linenum);
switch (opcode) {
This made all of our ~/.ssh/config files working again.
Yours,
Ralf S. Engelschall
rse at engelschall.com
www.engelschall.com
2001 Jul 27
0
openssh-2.9p2 compilation on LynxOS
...onf.o clientloop.o -L.
-Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh
-lopenbsompat -lz -lpcreposix -lpcre -lcrypto
collect2: ld returned 1 exit status
sshconnect.o: In function `ssh_connect':
/openssh/openssh-2.9p2/sshconnect.c(207): undefined
reference to `getservbynareadconf.o: In function
`parse_token':
/openssh/openssh-2.9p2/readconf.c(235): undefined
reference to `strcasecmp'
./libssh.a(log.o): In function `log_facility_number':
/openssh/openssh-2.9p2/log.c(97): undefined reference
to `strcasecmp'
./libssh.a(log.o): In function `log_level_number':
/openssh/openssh-2.9p2/log...
2001 Nov 12
4
Please test -current
Could people please test -current? We will be making a release fairly
soon.
-d
--
| By convention there is color, \\ Damien Miller <djm at mindrot.org>
| By convention sweetness, By convention bitterness, \\ www.mindrot.org
| But in reality there are atoms and space - Democritus (c. 400 BCE)
2002 Apr 26
0
PAM keyboard-interactive
...ecific options */
- { "PAMAuthenticationViaKbdInt", sPAMAuthenticationViaKbdInt },
- /* Standard Options */
{ "port", sPort },
{ "hostkey", sHostKeyFile },
{ "hostdsakey", sHostKeyFile }, /* alias */
@@ -440,12 +425,6 @@
charptr = NULL;
opcode = parse_token(arg, filename, linenum);
switch (opcode) {
- /* Portable-specific options */
- case sPAMAuthenticationViaKbdInt:
- intptr = &options->pam_authentication_via_kbd_int;
- goto parse_flag;
-
- /* Standard Options */
case sBadOption:
return -1;
case sPort:
Index: servconf.h
===========...
2006 Mar 29
7
sshd config parser
Hi All.
For various reasons, we're currently looking at extending (or even
overhauling) the config parser used for sshd_config.
Right now the syntax I'm looking at is a cumulative "Match" keyword that
matches when all of the specified criteria are met. This would be
similar the the Host directive used in ssh_config, although it's still
limiting (eg you can't easily
2001 Nov 20
3
problem with AFS token forwarding
Hello,
I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1
concerning the AFS token forwarding. That means that the new versions are
not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH
releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this
problem already existed in Openssh 2.9.9p1, but I have never used this
version (I only looked at the
2002 Jul 02
3
New PAM kbd-int diff
...ecific options */
- { "PAMAuthenticationViaKbdInt", sPAMAuthenticationViaKbdInt },
- /* Standard Options */
{ "port", sPort },
{ "hostkey", sHostKeyFile },
{ "hostdsakey", sHostKeyFile }, /* alias */
@@ -453,12 +438,6 @@
charptr = NULL;
opcode = parse_token(arg, filename, linenum);
switch (opcode) {
- /* Portable-specific options */
- case sPAMAuthenticationViaKbdInt:
- intptr = &options->pam_authentication_via_kbd_int;
- goto parse_flag;
-
- /* Standard Options */
case sBadOption:
return -1;
case sPort:
Index: servconf.h
===========...
2002 Jun 25
4
PAM kbd-int with privsep
...ecific options */
- { "PAMAuthenticationViaKbdInt", sPAMAuthenticationViaKbdInt },
- /* Standard Options */
{ "port", sPort },
{ "hostkey", sHostKeyFile },
{ "hostdsakey", sHostKeyFile }, /* alias */
@@ -453,12 +438,6 @@
charptr = NULL;
opcode = parse_token(arg, filename, linenum);
switch (opcode) {
- /* Portable-specific options */
- case sPAMAuthenticationViaKbdInt:
- intptr = &options->pam_authentication_via_kbd_int;
- goto parse_flag;
-
- /* Standard Options */
case sBadOption:
return -1;
case sPort:
Index: servconf.h
===========...
2013 Oct 07
4
Feature request: FQDN Host match
Hello!
I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :)
Anyway, my question relates to ssh_config. The problem I find is that
the Host pattern is only applied to the argument given on the command
line, as outlined in the man page:
"The host is the hostname argument given on the command line (i.e. the
name is not converted to a canonicalized host name