Hi,
/bin/sh can be very different....
Ubuntu 22.04:
:; ls -hal /bin/sh /bin/bash
-rwxr-xr-x 1 root root 1,4M Jan 6 2022 /bin/bash
lrwxrwxrwx 1 root root 4 Mar 23 2022 /bin/sh -> dash
OpenIndiana (old OpenSolaris reincarnation)
:; ls -hal /bin/sh /bin/bash
-r-xr-xr-x 1 root bin 1,4M Jan 25 09:42 /bin/bash
lrwxrwxrwx 1 root root 9 Apr 6 2021 /bin/sh -> i86/ksh93
On 2024-03-07 23:19, Job Snijders wrote:
On Thu, Mar 07, 2024 at 11:13:50PM +0100, Predrag Zečević wrote:
Not all systems have /bin/sh linked to /bin/bash.
Are there systems without /bin/sh? The objective isn't to use 'bash'
implementation specifically, I believe?
It was pointed out that check_socks() executes in whatever the remote
side has as shell, so my shebang suggestion has no merit.
Kind regards,
Job
--
Predrag Zečević
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev