Well, if there's no way of polling a file through SFTP, then I have a similar question regarding SSH.
I want to poll a log file from several machines, access is granted through either SSH or SFTP
My options would be:
- poll through SFTP (which is no longer an option)
- open a SSH session for each, tail the log file, then just poll the output of the terminal (this extra step is because i might need the last 5k lines)
Is there a more elegant/automated way of doing this?
Examples:
- set up UltraEdit to connect to each machine on startup or restore each connection when opening UltraEdit
- add a command as the first line of the SSH session (15.20 has a remote command option, but that doesn't leave the terminal open after executing)