I'd like to print some string to all open terminals processes that are running in remote machine. currently I'm using ssh to connect the remote machine, and than I echo my string into wall
command :
local> ssh [email protected]
(prompt to provide credentials)
remote> echo "123" | wall
is there a way to do it all in one command that will run without user interactions ?