Re: sftp 'Couldn't execute "bash"' lls error

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

 



Em qui., 19 de out. de 2023 às 14:33, Thorsten Glaser
<t.glaser@xxxxxxxxx> escreveu:
>
> On Thu, 19 Oct 2023, Jamenson Espindula wrote:
>
> >Note: this situation happened within "GNU Screen" (pts). It worked
> >normally in the terminal console (tty).
>
> Check your screen config (~/.screenrc, /etc/screenrc), in
> particular the “shell” command.
>
> For reference, mine has:
>
> shell "-${SHELL}"
>
> And the environment variable $SHELL is /bin/mksh (so a full
> pathname, not just the name of the executable).
>
> bye,
> //mirabilos
> --
> Infrastrukturexperte • Qvest Digital AG
> Am Dickobskreuz 10, D-53121 Bonn • https://www.qvest-digital.com/
> Telephon +49 228 54881-393 • Fax: +49 228 54881-235
> HRB AG Bonn 18196 • USt-ID (VAT): DE274355441
> Vorstand: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
> Vorsitzender Aufsichtsrat: Peter Nöthen

OK. It looks like it is working perfectly now.

My "/etc/screenrc":
shell -/usr/bin/bash

$ echo ${SHELL}
/usr/bin/bash

Why was there such a problem?

Thank you very much.

Jamenson espindula
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux