[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Conserver on Solaris 11.4

ciaran mcgirl ciaran.mcgirl@oracle.com
Tue, 18 Feb 2020 13:26:14 +0000 (UTC)


Hi,

I'm trying to run conserver 8.2.4 on Solaris 11.4 (I have it working on Solaris 10)

I use ssh and telnet to connect to different machine ILOM's using the exec command.

Telnet works fine but I'm having issues with ssh.

# console smex32a
[Enter `^Ec?' for help]
Permission denied (publickey,keyboard-interactive).

"/bin/ssh smex32a-sp -l root" on its own from the command line, connects and lets me input the password.

info from conserver.cf
console smex32a { type exec; exec /bin/ssh smex32a-sp -l root; }

If I do a truss and try to connect I see the following error accessing /dev/tty

28759 ./conserver -d -i -o -E
    27480 /bin/ssh smex32a-sp -l root


# truss -fae -p 28759
<snip>
26858:  openat(AT_FDCWD, "/dev/tty", O_RDWR)            Err#6 ENXIO
26858:  openat(AT_FDCWD, "/dev/tty", O_RDWR)            Err#6 ENXIO

also adding -vv to the exec ssh shows this

debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
debug1: read_passphrase: can't open /dev/tty: No such device or address

I've attached the config.h file with some locations and hostnames ommited.

Its worth noting that the solaris 10 box uses

Sun_SSH_1.1.5, SSH protocols 1.5/2.0, OpenSSL 0x0090704f

While the Solaris 11.4 box uses

OpenSSH_7.7p1, OpenSSL 1.0.2r  26 Feb 2019

Many Thanks

Ciaran

--

Ciaran McGirl
Senior Software Engineer, Software Maintenance Engineering

Hardware and Software,
          Engineered to Work Together
/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Client config file path */
#define CLIENTCONFIGFILE SYSCONFDIR "/console.cf"

/* Config file path */
#define CONFIGFILE "$LOCATION/conserver.cf"

/* ./configure invocation */
#define CONFIGINVOCATION "./configure --prefix=$LOCATION --exec-prefix=$LOCATION --with-cffile=$LOCATION/conserver.cf --with-pwdfile=$LOCATION/conserver.passwd --with-master=$HOSTNAME"

/* TCP connection timeout */
#define CONNECTTIMEOUT 10

/* Base socket used for secondary channel */
#define DEFBASEPORT "0"

/* Socket used to communicate */
#define DEFPORT "conserver"

/* Defined if building for a Cyclades TS */
/* #undef FOR_CYCLADES_TS */

/* Define to 1 if you have the `bigcrypt' function. */
/* #undef HAVE_BIGCRYPT */

/* Define to 1 if you have the <bsm/audit.h> header file. */
#define HAVE_BSM_AUDIT_H 1

/* Define to 1 if you have the `closefrom' function. */
#define HAVE_CLOSEFROM 1

/* Define to 1 if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1

/* have dmalloc support */
/* #undef HAVE_DMALLOC */

/* have freeipmi support */
/* #undef HAVE_FREEIPMI */

/* Define to 1 if you have the `getaudit' function. */
/* #undef HAVE_GETAUDIT */

/* Define to 1 if you have the `getaudit_addr' function. */
/* #undef HAVE_GETAUDIT_ADDR */

/* Define to 1 if you have the `getdtablesize' function. */
#define HAVE_GETDTABLESIZE 1

/* Define to 1 if you have the `getlogin' function. */
#define HAVE_GETLOGIN 1

/* Define to 1 if you have the `getopt' function. */
#define HAVE_GETOPT 1

/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1

/* Define to 1 if you have the `getprpwnam' function. */
/* #undef HAVE_GETPRPWNAM */

/* Define to 1 if you have the `getrlimit' function. */
#define HAVE_GETRLIMIT 1

/* Define to 1 if you have the `getsid' function. */
#define HAVE_GETSID 1

/* Define to 1 if you have the `getspnam' function. */
#define HAVE_GETSPNAM 1

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

/* Define to 1 if you have the `getuserattr' function. */
#define HAVE_GETUSERATTR 1

/* Define to 1 if you have the `getutent' function. */
#define HAVE_GETUTENT 1

/* Define to 1 if you have the `grantpt' function. */
#define HAVE_GRANTPT 1

/* have gss-api support */
/* #undef HAVE_GSSAPI */

/* Define to 1 if you have the <hpsecurity.h> header file. */
/* #undef HAVE_HPSECURITY_H */

/* Define to 1 if you have the `inet_aton' function. */
#define HAVE_INET_ATON 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Defined if in_addr_t exists */
#define HAVE_IN_ADDR_T 1

/* Define to 1 if you have the `iscomsec' function. */
/* #undef HAVE_ISCOMSEC */

/* Define to 1 if you have the `bsm' library (-lbsm). */
/* #undef HAVE_LIBBSM */

/* Define to 1 if you have the `sec' library (-lsec). */
/* #undef HAVE_LIBSEC */

/* Define to 1 if you have the `util' library (-lutil). */
/* #undef HAVE_LIBUTIL */

/* Define to 1 if you have the <libutil.h> header file. */
/* #undef HAVE_LIBUTIL_H */

/* Define to 1 if you have the `xnet' library (-lxnet). */
/* #undef HAVE_LIBXNET */

/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1

/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1

/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have the `openpty' function. */
#define HAVE_OPENPTY 1

/* have openssl support */
/* #undef HAVE_OPENSSL */

/* have PAM support */
/* #undef HAVE_PAM */

/* Define to 1 if you have the <prot.h> header file. */
/* #undef HAVE_PROT_H */

/* Define to 1 if you have the `ptsname' function. */
#define HAVE_PTSNAME 1

/* Define to 1 if you have the <pty.h> header file. */
/* #undef HAVE_PTY_H */

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Defined if sa_len member exists in struct sockaddr */
/* #undef HAVE_SA_LEN */

/* Define to 1 if you have the `setgroups' function. */
#define HAVE_SETGROUPS 1

/* Define to 1 if you have the `setlinebuf' function. */
#define HAVE_SETLINEBUF 1

/* Define to 1 if you have the `setpgrp' function. */
#define HAVE_SETPGRP 1

/* Define to 1 if you have the `setproctitle' function. */
/* #undef HAVE_SETPROCTITLE */

/* Define to 1 if you have the `setsid' function. */
#define HAVE_SETSID 1

/* Define to 1 if you have the `setsockopt' function. */
#define HAVE_SETSOCKOPT 1

/* Define to 1 if you have the `setttyent' function. */
/* #undef HAVE_SETTTYENT */

/* Define to 1 if you have the `setvbuf' function. */
#define HAVE_SETVBUF 1

/* Define to 1 if you have the <shadow.h> header file. */
#define HAVE_SHADOW_H 1

/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1

/* Defined if socklen_t exists */
#define HAVE_SOCKLEN_T 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define if strcasecmp is available */
#define HAVE_STRCASECMP 1

/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1

/* Define if stricmp is available */
/* #undef HAVE_STRICMP */

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strlcpy' function. */
#define HAVE_STRLCPY 1

/* Define to 1 if you have the <stropts.h> header file. */
#define HAVE_STROPTS_H 1

/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1

/* Define to 1 if you have the <sysexits.h> header file. */
#define HAVE_SYSEXITS_H 1

/* Define to 1 if you have the <sys/audit.h> header file. */
/* #undef HAVE_SYS_AUDIT_H */

/* Define to 1 if you have the <sys/ioctl_compat.h> header file. */
/* #undef HAVE_SYS_IOCTL_COMPAT_H */

/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1

/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/proc.h> header file. */
#define HAVE_SYS_PROC_H 1

/* Define to 1 if you have the <sys/resource.h> header file. */
#define HAVE_SYS_RESOURCE_H 1

/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1

/* Define to 1 if you have the <sys/sockio.h> header file. */
#define HAVE_SYS_SOCKIO_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the <sys/ttold.h> header file. */
#define HAVE_SYS_TTOLD_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <sys/uio.h> header file. */
#define HAVE_SYS_UIO_H 1

/* Define to 1 if you have the <sys/un.h> header file. */
#define HAVE_SYS_UN_H 1

/* Define to 1 if you have the <sys/vlimit.h> header file. */
/* #undef HAVE_SYS_VLIMIT_H */

/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1

/* Define to 1 if you have the `tcgetattr' function. */
#define HAVE_TCGETATTR 1

/* Define to 1 if you have the `tcgetpgrp' function. */
#define HAVE_TCGETPGRP 1

/* Define to 1 if you have the `tcsendbreak' function. */
#define HAVE_TCSENDBREAK 1

/* Define to 1 if you have the `tcsetattr' function. */
#define HAVE_TCSETATTR 1

/* Define to 1 if you have the `tcsetpgrp' function. */
#define HAVE_TCSETPGRP 1

/* Define to 1 if you have the <ttyent.h> header file. */
/* #undef HAVE_TTYENT_H */

/* Define to 1 if you have the <types.h> header file. */
/* #undef HAVE_TYPES_H */

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the `unlockpt' function. */
#define HAVE_UNLOCKPT 1

/* Define to 1 if you have the <usersec.h> header file. */
/* #undef HAVE_USERSEC_H */

/* Define to 1 if you have the <util.h> header file. */
/* #undef HAVE_UTIL_H */

/* Logfile path */
#define LOGFILEPATH "/var/log/conserver"

/* Hostname of console server */
#define MASTERHOST "$HOSTNAME"

/* Number of consoles per child process */
#define MAXMEMB 16

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
#define PACKAGE_NAME "conserver"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "conserver 8.2.4"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "conserver"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "8.2.4"

/* Password file path */
#define PASSWDFILE "$LOCATION/conserver.passwd"

/* pidfile to write to */
#define PIDFILE "/var/run/conserver.pid"

/* Defined if client requires server SSL certificate */
/* #undef REQ_SERVER_CERT */

/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* retry username without @REALM with gss-api authentication */
/* #undef STRIP_REALM */

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Defined if we trust reverse DNS */
/* #undef TRUST_REVERSE_DNS */

/* Defined if we trust credentials from UDS client */
/* #undef TRUST_UDS_CRED */

/* Directory for Unix domain sockets */
/* #undef UDSDIR */

/* Defined to UDS credential socket option */
/* #undef UDS_CRED_SO */

/* Defined to UDS credential structure name */
/* #undef UDS_CRED_STYPE */

/* Defined to UDS credential structure uid field */
/* #undef UDS_CRED_UID */

/* Defined if we produce extended messages */
/* #undef USE_EXTENDED_MESSAGES */

/* Defined if building with IPv6 support */
/* #undef USE_IPV6 */

/* use tcp_wrappers libwrap */
/* #undef USE_LIBWRAP */

/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif


/* Defined if we use Unix domain sockets */
/* #undef USE_UNIX_DOMAIN_SOCKETS */

/* Define to 1 if on MINIX. */
/* #undef _MINIX */

/* Define to 2 if the system does not provide POSIX.1 features except with
   this defined. */
/* #undef _POSIX_1_SOURCE */

/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */

/* Define if <signal.h> does not define sig_atomic_t */
/* #undef sig_atomic_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */