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
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
Thanks Ben. i am checking in linux. I do have this command working: ssh localhost -o password=abc123 SSH started with password Could not create directory '/root/.ssh'. Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password,keyboard-interactive). will try to getback on openssh used. But is it possible to show some pointers for my queries, avoid arguments in ps or /proc and other one was on ^C not working on my ssh sessions. Thanks On Tue, Jan 17, 2017 at 1:04 AM, Ben Lindstrom <mouring at eviladmin.org> wrote:> > 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 >> > >