-
Notifications
You must be signed in to change notification settings - Fork 515
Open
Description
- Docs are outdated.
- Twice
yank.sh
is broken in once place: You have to add-q 0
to thenc
command at~/.config/yank.sh
of remote machine:
elif [ -n "${copy_backend_remote_tunnel_port-}" ] \
&& (netstat -f inet -nl 2>/dev/null || netstat -4 -nl 2>/dev/null) \
| grep -q "[.:]$copy_backend_remote_tunnel_port"; then
copy_backend="nc -q 0 localhost $copy_backend_remote_tunnel_port"
fi
- On your main machine, open two separate terminals. In one:
ssh -R 11988:localhost:3333 remote_username@PUT_HERE_REMOTE_IP_ADDRESS
In second terminal:
if you are using fish:
while true
nc -l -vv -p 3333 | wl-copy
end
if bash:
while true
do
nc -l -vv -p 3333 | wl-copy
done
You can change the wl-copy
part to your favourite clipboard copy-paster command
Metadata
Metadata
Assignees
Labels
No labels