tailing a file on another server
I'd like to tail a file that's sitting on another server, but simply typing:
tail address.of.server:/file/to/tail >> output
doesn't seem to be doing the trick:
tail: cannot open "address.of.server:/file/to/tail" for reading: No such file or directory
I'm fairly new to bash and linux in general, so how should I form this? I know how to access this file normally, and I CAN do this by just logging onto the server and then typing:
tail /file/to/tail >> output
but I, for whatever reason, want to consolidate everything to one statement, if possible.