urandom2 / weechat-pyrnotify

Send notifications to remote client using ssh and libnotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newb assistance

opened this issue · comments

I am trying to connect to this via ssh -NR *:5900:localhost:5900 user@remotehost and I get repeated connection failures. Could I be doing something wrong with either my router (I forwarded both 22 and 5900) or with my sshd_config? Please help I'd like to use your script.

this repo exists because I wanted to extend the functionality of the base pyrnotify script that weechat uses. one of the changes was to add support for unix sockets, so my ssh connect command looks like this:

ssh <remote_host> -R /tmp/libnotify_remote.sock:/tmp/libnotify_remote-<remote>.sock -t tmux attach-session -t weechat

note, that this both connects to my remote_host's weechat tmux session and opens the socket forward; I would imagine that the port forward would need to look similar, but I would suggest you do both at the same time. I currently use a bash alias to simplify this line into a command, but am considering moving it into my .ssh/config file.

let me know if you have any other questions.

My sincerest apologies for bothering you. I sincerely appreciate you making the script and after reading your comment was able to get the script to work. Had been fighting with it for hours (I am a code clueless newb). I appreciate you getting back to me and thank you so much for writing the script. :D