lemonade-command / lemonade

Lemonade is a remote utility tool. (copy, paste and open browser) over TCP.
MIT License
624 stars 54 forks source link

More verbose logging #35

Closed bravecorvus closed 3 years ago

bravecorvus commented 3 years ago

I usually use Lemonade when I access Linux server through ssh on my Mac. For this, Lemonade works wonderfully. However, I have tried setting this up for a Mac server, and have run into issues.

I would first like to see more verbose logging to see what went wrong, as, all I see is:

EROR[01-28|01:41:01] dial tcp [::1]:2424: connect: connection refused
EROR[01-28|01:41:01] Falling back to localhost
exit status 1

(this is with port set to 2424, and using ssh -R 2489:127.0.0.1:2424 user@address).

The same thing occurs when I try to use the default port (2489) instead of 2424.

This is weird behavior as with the same instance of lemonade server running on my local Mac, I am able to use lemonade copy in all my Linux servers.

I was wondering if there is a verbose option to see problems that occur in more detail.

Thank you

bravecorvus commented 3 years ago

Nevermind, I was able to get it to work by symlinking lemonade as /usr/local/bin/pbcopy and /usr/local/bin/pbpaste.