0

I've tried tons of ways:

ssh -V > file.txt
ssh -V &> file.txt
ssh -V 2> file.txt
$(ssh -V) > file.txt
$(ssh -V) &> file.txt
file.txt <<< $(ssh -V)

And with shell substitution with variables as well. But every time the output is shown on screen.

Takuya
  • 53
  • 4

0 Answers0