hello,
The solution to use ssh command without using the console(tty) is to add -t -t option.
example:
Code:
ssh -t -t -R 8080:127.0.0.1:80 root@192.168.1.1
The -t -t option is useful to execute ssh script in a crontab without error:
Quote:
|
Pseudo-terminal will not be allocated because stdin is not a terminal.
|
Have fun...
sincerely.