Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH/SFTP Support for Tailing Remote Files #20

Closed
ivanatpr opened this issue Nov 17, 2015 · 4 comments
Closed

SSH/SFTP Support for Tailing Remote Files #20

ivanatpr opened this issue Nov 17, 2015 · 4 comments

Comments

@ivanatpr
Copy link
Contributor

Not sure how feasible this is but it would be really neat to have the ability to tail files on a remote server via SSH and/or SFTP. Most log files that I'm interested in tailing live in remote unix servers.

@RolandPheasant
Copy link
Owner

I know there are several c# ssh clients out there so in theory possible. However to make it work I would need do be able to stream the file over the connection, If this can be done then I will do it.

However this would not be my immediate priority.

@ivanatpr
Copy link
Contributor Author

Not sure how much support SSH libraries will have for file events, but one (potentially hacky) approach is to literally run "tail -f " on the remote server and then stream the output. Perhaps even stream the output directly to a local file in a temp dir such that the main TailBlazer process can then open it just like any other local file. Just a thought.

@RolandPheasant
Copy link
Owner

That should in theory work and should be straight forward to implement

@RolandPheasant
Copy link
Owner

This will be considered in #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants