Hi,
I was trying to embed a ssh key in a script and pass it via stdin
(unfortunately not directly supported by ssh). Investigating ways how
this can be done, I ran into a curiosity. With bash, the following does
about what I need:
#!/bin/bash
ssh -i /dev/stdin luser@localhost ls <&DATA";
e
Hi,
I was trying to embed a ssh key in a script and pass it via stdin
(unfortunately not directly supported by ssh). Investigating ways how
this can be done, I ran into a curiosity. With bash, the following does
about what I need:
#!/bin/bash
ssh -i /dev/stdin luser@localhost ls <&DATA";
e
Hi,
I was trying to embed a ssh key in a script and pass it via stdin
(unfortunately not directly supported by ssh). Investigating ways how
this can be done, I ran into a curiosity. With bash, the following does
about what I need:
#!/bin/bash
ssh -i /dev/stdin luser@localhost ls <&DATA";
e