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

Re: ssh (fwd)



hi Marcus

here is the letter that i wrote to Bill White today, plus
i noticed these things:

1. the configure script cheks for utsyslen int /include/utmpx.h, not in
the /include/bits/utmpx.h

2. i added the define __USE_GNU to the ssh sources, but it seems it wont
work for me (i dont know why)
its important, becouse as i noticed if __USE_GNU defined, then the above
changes not needed (except the first, which is a small mistake in the
code, i think)

---------- Forwarded message ----------
Date: Wed, 27 Oct 1999 16:53:09 +0200 (CEST)
From: e-guy@skylab.net
To: Bill White <bill.white@griggsinst.com>
Subject: Re: ssh

hello Bill

these changes not 'real' things, but you have to apply them, or you can't
compile ssh without errors.

you have to edit the login.c
comment out line 437 which is looks like this:
	ux.ut_syslen = strlen(ux.ut_host);

then edit the line 454 to look like this here:
	updwtmpx(_PATH_WTMP, &ux);

that's all.
now it must compile

if dont, there is a simplier way: before you run the configure script
rename the file /include/utmpx.h (so configure can't find it)
after configure exited you can change back the renamed utmpx.h, then
compile.

all these things are important only if you want to run sshd (the server).
if all you want is to run ssh (the client), don't edit anything, just
compile. it will stop with an error, wich is for sshd not for ssh. at this
time you must have an ssh exececutable in the compile directory. 




ps.: sorry for my bad english :(, i hope you can read what i want to write

e-guy



Reply to: