[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ssh ksh oddness
I've noticed something odd with ksh and ssh.
When I set ksh as my shell and log in, Control-C, Control-D etc have
no effect. For example, "tail -f /etc/login.conf" can not be interrupted
with Control-C, I have to do Control-Z and then manually kill it
with kill -9.
If I set UseLogin to yes in sshd_config everything works but I'd rather not
have to use UseLogin. It only affects interactive sessions, ie "ssh <host> tail -f
/etc/login.conf" will handle Control-C properly.
This behaviour is not present when csh, tcsh or zsh is the shell so
I suppose it must be ksh related.
I've attached the output from "ssh -vvv". debug.log is with ksh, debug2.log with
csh. You'll notice they're almost identical.
[demime 0.98d removed an attachment of type application/octet-stream which had a name of debug.log]
[demime 0.98d removed an attachment of type application/octet-stream which had a name of debug2.log]