help-bash
[Top][All Lists]
Advanced

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

question about non working of buggy script in complicated topic, shell b


From: Alex fxmbsw7 Ratchev
Subject: question about non working of buggy script in complicated topic, shell back via ssh
Date: Mon, 14 Feb 2022 05:21:14 +0100

i do have situations where i have firewalled hosts, and i wish to access
them
they are legit stuffs just behind inet like my owns laptop for example

the point is to make them via ssh ( as i havent digged into encrypted text
tcp script ) on a my public server

it all works, excepts, bash tells me it reads off my reader same chars as
the typing transformer sends, not its processed ones

ths script begins actually after the second #!/usr/bin/env -S bash
the first one is included to make keywords work, the whole is files and
not-one-big-script based, the one-big-script makement

i do,
the transformer is for control-c case to send kill -0 to it, it reads -r -N
1 r and prints c%s "${r:1:1}" (or $c or $f) to further
the back transformer is supposed to transform this text back by a read -r
-N 2 r and a printf %s "${r:1:1}" again
but seemfully this doesnt work.. somehow.. can someone see ?
bash (-i)'s input is "$i" which is produced by the local from streams
reader ( the back transformer ) from "$i".1
ssh spawns code then that transmits to fifos there, and sshs output is set
to "$i".1 ...

a suggestion to rip the cat's for pure bash exec's would also be something
good i dunno to handle 0>< 1>< signs right

Attachment: backsshbash
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]