Gentleman & Ladies,
Please make me feel like and novice and explain why this is not working?
I am attempting to ssh to a remote server via ssh and keys. I want to inject a file on the remote server with text.
I am not achieving this. I would like to echo/inject the text on the remote server with a variable.
[root@radio5 bin]# ssh root@forums1.nyc /bin/echo $var >> /root/filetobeinjected
Please let me know what I am doing wrong. The above code does not error, however it is not injecting text to the target file.
ABACUS