Hello, By the 26th of May I will have been waiting for response for 17 days. I have posted this mail at 9 May 2001 20:38:58 and still this bug is not fixed and AFAIK no one have answered to this mail. I have to ask: why? ;-) ---------- My OLD message ---------- Hello, I have just discoverd that ssh -T does not work with servers which have UseLogin option enabled. This happends becouse /bin/login can not work if there is no tty. To correct this, it is necessary to add: options.use_login = 0; at the top of the "do_exec_no_pty" function from the "session.c" file. ---------- My OLD message ---------- Best regards, Krzysztof Oledzki
Krzysztof Oledzki wrote:> > Hello, > > By the 26th of May I will have been waiting for response for 17 days. > I have posted this mail at 9 May 2001 20:38:58 and still this bug is not > fixed and AFAIK no one have answered to this mail. I have to ask: why? ;-) > > ---------- My OLD message ---------- > Hello, > > I have just discoverd that ssh -T does not work with servers which have > UseLogin option enabled. This happends becouse /bin/login can not work if > there is no tty. To correct this, it is necessary to add: > > options.use_login = 0; > > at the top of the "do_exec_no_pty" function from the "session.c" file. > ---------- My OLD message ---------- > > Best regards, > > Krzysztof OledzkiIts not a bug, its a feature :-) Seriously, if UseLogin is selected then the sys-admin has dictated that all authentictions must pass though /bin/login - usually for local secuirty reasons. Disabling this kind of defeats the purpose of the option. Andrew Bartlett -- Andrew Bartlett abartlet at pcug.org.au
On Sat, May 26, 2001 at 12:15:42PM +1000, Andrew Bartlett wrote:> Its not a bug, its a feature :-) Seriously, if UseLogin is selected > then the sys-admin has dictated that all authentictions must pass though > /bin/login - usually for local secuirty reasons. Disabling this kind of > defeats the purpose of the option.no, this is not true. use_login is ignored if you specify commands.
On Sat, 26 May 2001, Markus Friedl wrote:> On Sat, May 26, 2001 at 12:15:42PM +1000, Andrew Bartlett wrote: > > Its not a bug, its a feature :-) Seriously, if UseLogin is selected > > then the sys-admin has dictated that all authentictions must pass though > > /bin/login - usually for local secuirty reasons. Disabling this kind of > > defeats the purpose of the option. > > no, this is not true. > > use_login is ignored if you specify commands. >So? Someone will fix it!? It is quite stiupid to keep this bug!!! Best regards, Krzysztof Oledzki