开发者

How to "tail -f" file from a remote Unix system in Java?

开发者 https://www.devze.com 2023-02-03 07:25 出处:网络
I want to be able to get buffered input from a remote system (using SSH and username password encrytion from Java) an开发者_开发知识库d then \"tail -f\" a file, buffering the input. Is this possible?J

I want to be able to get buffered input from a remote system (using SSH and username password encrytion from Java) an开发者_开发知识库d then "tail -f" a file, buffering the input. Is this possible?


Jsch to rescue: http://www.jcraft.com/jsch/

0

精彩评论

暂无评论...
验证码 换一张
取 消