pschweitz / insidelog

[newer] Colorized real-time log viewer with remote tail over SSH support for Windows, Mac and Linux
Apache License 2.0
41 stars 5 forks source link

How to tail remote log file? #1

Closed reddysainathn closed 5 years ago

reddysainathn commented 5 years ago

How do I setup ssh to tail a remote log file?

pschweitz commented 5 years ago

Hi,

There are several ways of configuration.

Please refer to the page 6 of the user manual for SSH: https://github.com/pschweitz/insidelog/blob/master/UserManual.pdf

Otherwise to tail remote files located on a Windows server I recommend to open a read only shared drive, then to tail them like local files.

Thanks for using in'side log

reddysainathn commented 5 years ago

Is this the right way of ssh string at right place? I tried multiple ways, did not go thru. Can you help me with this....

ssh://<userName>@<hostname>:/<path>

image

pschweitz commented 5 years ago

Yes it is like the connection string you provided.

Please make sure the server is running an ssh server (sshd), and accepting login with the user you want to (root is not authorized by default on many distributions).

Finally check on the server side, the log files of the ssh server to identify a potential issue. Thanks.

reddysainathn commented 5 years ago

This Helped me. Thank you.