^C doesnt work on ssh session

Ben Lindstrom mouring at eviladmin.org
Tue Jan 17 06:34:43 AEDT 2017


What platform are you on, and whose OpenSSH?  Because clearly this isn't 
stock:

$ ssh localhost -o password=foo
command-line: line 0: Bad configuration option: password

I don't ever remember -o password=XXX ever being a thing.

Ben


Sudarshan Soma wrote:
> Hi ,
> when i connect to sshd ,  the session doesnt allow me to issue ^C ^Z, it
> doesnt work.  Please let me know if there are any settings to control it.
> telnet works fine.
>
> my settings, version:
>
> OpenSSH_6.6p1, OpenSSL 1.0.1h 5 Jun 2014
>
> stty -a
> speed 38400 baud; rows 24; columns 80; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol =<undef>;
> eol2 =<undef>; swtch =<undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt =
> ^R;
> werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
> -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
> -ixoff
> -iuclc -ixany -imaxbel -iutf8
> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
> ff0
> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
> echoctl echoke
>
>
>
> another query i had was on hiding arguments passed to ssh. I have  a
> requirement to spawn some ssh command like (ssh ip -o password=221 ip )
> which has password in arguments. can we hide this in listing from ps ,
> /proc outputs. Please suggest.
>
> Regards,
> Grover.
>
> Regards,
> Sudarshan
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list