search for: sshpty

Displaying 20 results from an estimated 68 matches for "sshpty".

Did you mean: sshkey
2001 Apr 06
0
Protocol 1 not working in openssh-2.5.2p2
...823]: Accepted password for anthonyu So I dont think it's a problem with ttyname(3). Below is a workaround patch that allows logins, but I doubt it will be useful in anything but troubleshooting. YMMV. Please let me know if a proper fix is committed. Thanks, diff -Nurd openssh-2.5.2p2-orig/sshpty.c openssh-2.5.2p2/sshpty.c --- openssh-2.5.2p2-orig/sshpty.c Sun Mar 4 19:53:03 2001 +++ openssh-2.5.2p2/sshpty.c Thu Apr 5 19:41:55 2001 @@ -296,6 +296,10 @@ gid_t gid; mode_t mode; struct stat st; + char *dex; + + dex = index(ttyname, ' '); +...
2002 May 09
4
make distprep broken?
Hello All, Doing a make distprep doesn't seem to work anymore: $ make -f Makefile.in distprep make: @SH@: Command not found make: *** [catman-do] Error 127 I've seen this on AIX & Redhat (gnu make) and Solaris (native make). I suspect this occurs on most platforms. Is this still the recommended way of autoreconf'ing CVS releases for building? -Daz.
2004 Sep 07
0
Please review openssh patch for selinux
...| 29 +++++++++++++ monitor.h | 2 monitor_wrap.c | 18 ++++++++ monitor_wrap.h | 3 + selinux.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++ selinux.h | 10 ++++ session.c | 8 +++ sshpty.c | 8 +++ 15 files changed, 234 insertions(+), 3 deletions(-) diff -u --new-file --recursive openssh-3.9p1_vanilla/Makefile.in openssh-3.9p1_selinux/Makefile.in --- openssh-3.9p1_vanilla/Makefile.in 2004-08-15 13:01:37.000000000 +0200 +++ openssh-3.9p1_selinux/Makefile.in 2004...
2002 Oct 21
1
[Bug 315] add missing includes and defines for FREEBSD
...EBSD ------- Additional Comments From dirk.meyer at dinoex.sub.org 2002-10-21 14:57 ------- used for calls to: int openpty __P((int *_amaster, int *_aslave, char *_name, struct termios *_termp, struct winsize *_winp)); In openssh.3.5 this funtions have beenn moved to: sshpty.c --- sshpty.c.orig Wed Jun 26 01:21:42 2002 +++ sshpty.c Fri Jun 28 07:09:38 2002 @@ -30,6 +30,9 @@ #ifdef HAVE_PTY_H # include <pty.h> #endif +#ifdef HAVE_LIBUTIL_H +#include <libutil.h> +#endif #if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H) # include...
2003 Jun 11
2
[PATCH] Fix typos, OpenBSD + Portable
...rds that the user has logged in. I these parts of operating systems - * were more standardized. + * Records that the user has logged in. I wish these parts of operating + * systems were more standardized. */ void record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, Index: sshpty.c =================================================================== RCS file: /cvs/src/usr.bin/ssh/sshpty.c,v retrieving revision 1.9 diff -u -r1.9 sshpty.c --- sshpty.c 2003/05/24 09:30:40 1.9 +++ sshpty.c 2003/06/11 12:29:21 @@ -181,7 +181,7 @@ error("chmod %.100s 0666 failed: %.100s&qu...
2002 Jun 07
4
openssh for UWIN
...if (!options.use_privileged_port) { #else --- 640,646 ---- host = options.hostname; /* Disable rhosts authentication if not running as root. */ ! #if define(HAVE_CYGWIN) || defined(_UWIN) /* Ignore uid if running under Windows */ if (!options.use_privileged_port) { #else *** sshpty.c.orig Thu Dec 20 22:45:52 2001 --- sshpty.c Thu May 30 16:37:50 2002 *************** *** 124,130 **** close(*ptyfd); return 0; } ! #ifndef HAVE_CYGWIN /* * Push the appropriate streams modules, as described in Solaris pts(7). * HP-UX pts(7) doesn't have ttcompat module. -...
2005 Sep 12
3
Problems Compiling OpenSSH 4.2p1 on Tru64 UNIX 5.1b
I configure as follows: ./configure --with-zlib=/usr/local/include cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o aut...
2006 Jun 20
2
[PATCH] openssh pseudo-terminal bug
hello short description: ssh client sends a wrong all-zero terminal info when requesting forced pseudo-terminal allocation while stdin is not a terminal. sshd then sets the terminals ospeed to 0 because it receives this information from the client. on solaris this means that the pseudo-terminal is closed and output of any remote command is dropped. longer description: what we're doing is
2007 Mar 23
2
openssh 4.6p1 bug / IRIX
hello, little problem compiling openssh 4.6p1 on irix using mipspro 7.4.x. c99 -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o auth-krb5...
2012 Mar 06
6
openssh static build - mission impossible?
...ared libraries from the glibc version used for linking groupaccess.o: In function `ga_init': /builddir/build/BUILD/openssh-5.6p1/groupaccess.c:69: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking sshpty.o: In function `pty_setowner': /builddir/build/BUILD/openssh-5.6p1/sshpty.c:211: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking session.o: In function `do_setusercontext': /builddir/build/B...
2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
...prng_read_seedfile): Likewise. * serverloop.c (server_loop, server_loop2): Likewise. * session.c (session_dump, session_by_pid, session_exit_message, session_close_by_pid, session_have_children, session_close_by_channel): Likewise. * ssh-agent.c, sshd.c (main): Likewise. * sshpty.c (pty_setowner): Likewise. * uidswap.c: (temporarily_use_uid): Likewise. =================================================================== RCS file: authfile.c,v retrieving revision 2.9.9.2 retrieving revision 2.9.9.2.0.1 diff -pu -r2.9.9.2 -r2.9.9.2.0.1 --- authfile.c 2001/09/23 13:53:22 2.9....
2001 Jul 26
7
Updated Cray patch against openssh SNAP-20010725
...ng if it gets an EINTR, this can happen due to job termination signal on unicos and unicosmk. session.c - Added unicos/unicosmk job termination signal handler. Add TMPDIR envireent variable. Add code to set up a unicos/unicosmk job and system limits. sshpty.c - Unicos/unicosk pty support. In openbsd-compat directory: bindresvport.c & - Code around the fact that the address of sin_port rresvport.c. really is 64 bit aligned on a SV1. bsd-cray.c - New - cray support routines. bsd-cray.h - Cray support. -------------- nex...
2004 Mar 30
1
[Bug 565] gcc 3.2.3 compiler warnings for openssh-3.6.1p2 on Solaris 7
...from incompatible pointer type >channels.c:2072: warning: passing arg 4 of `setsockopt' from incompatible pointer type SuSv2 defines arg 4 as void *, Solaris 2.5.1 defines it as char *, hence the warning. >sshd.c:572: warning: unsigned int format, long unsigned int arg (arg 2) Gone. >sshpty.c:412: warning: unsigned int format, mode_t arg (arg 3) >sshpty.c:415: warning: unsigned int format, mode_t arg (arg 3) Gone. >auth.c:434: warning: passing arg 1 of `realpath' discards qualifiers from pointer target type Still there. >session.c:2081: warning: implicit declaration of...
2001 Apr 06
0
Now Protocol 2 doesn't work ;)
Actually, this is a better workaround: --- openssh-2.5.2p2-orig/sshpty.c Sun Mar 4 19:53:03 2001 +++ openssh-2.5.2p2/sshpty.c Thu Apr 5 19:41:55 2001 @@ -296,6 +296,10 @@ gid_t gid; mode_t mode; struct stat st; + char *dex; + + if ((dex = index(ttyname, ' ')) != NULL) + *dex = 0; /* Determi...
2002 Jun 28
0
[Bug 317] New: add header so ptty functions are found
...SH Version: -current Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: dirk.meyer at dinoex.sub.org --- sshpty.c.orig Wed Jun 26 01:21:42 2002 +++ sshpty.c Fri Jun 28 07:09:38 2002 @@ -30,6 +30,9 @@ #ifdef HAVE_PTY_H # include <pty.h> #endif +#ifdef __FreeBSD__ +#include <libutil.h> +#endif #if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H) # include <sys/stropts....
2001 Nov 27
2
3.0.1p1 losing tty modes?
...es, so you need to save them before and restore them to the newly opened tty afterwards. This is on Linux 2.4.14, but the problem looks quite portable to me for all systems that have vhangup(). This patch shows my solution, but it's only a hack to me until I know why vhangup() is needed: --- sshpty.c.orig Tue Nov 27 02:32:50 2001 +++ sshpty.c Tue Nov 27 02:33:45 2001 @@ -252,6 +252,7 @@ int fd; #ifdef USE_VHANGUP void *old; + struct termios tio; #endif /* USE_VHANGUP */ #ifdef _CRAY @@ -310,6 +311,7 @@ #endif /* HAVE_NEWS4 */ #ifdef USE_VHANGUP ol...
2004 Aug 20
1
problem compiling OpenSSH 3.9 on OpenBSD 3.4
Please pardon any user idiocy involved, but I applied the OpenBSD 3.4 patch to the 3.9 sources on both my i386 and sparc64 OpenBSD 3.4 boxes, and get the same error: cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o...
2004 Mar 27
1
Problems Compiling sshd - OpenSSH 3.8p1 on Tru64 UNIX V4.0F PK#7 (OSF)
...penbsd-compat seems to have built without errors. I configure as follows: CC=cc CFLAGS=-O LDFLAGS=-non_shared ./configure --prefix=/opt/ssh --with-prngd-socket =/var/run/egd-pool --with-ssl-dir=/opt/ssh --with-zlib=/opt/zlib cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o...
2007 May 01
1
problem while doing make - openssh on sco unix 7.1
...o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/usr/local/lib -lssh -lopenbsd-compat -lresolv -liaf -lcrypto -lsocket -lnsl -lgen -lz -lcrypt cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o auth-krb...
2014 Dec 28
2
Compiling a static openssh server
...hared libraries from the glibc version used for linking groupaccess.o: In function `ga_init': /home/john/Downloads/openssh-6.6p1/groupaccess.c:70: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking sshpty.o: In function `pty_setowner': /home/john/Downloads/openssh-6.6p1/sshpty.c:211: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking session.o: In function `do_setusercontext': /home/john/Downloa...