-
Notifications
You must be signed in to change notification settings - Fork 515
Open
Description
There seems to be a much easier way of transferrign the content of remote buffer to loca machine when working over ssh.
Set the following options in the ~/.ssh/config on the local machine
Host *
ForwardX11 yes
ForwardX11Trusted yes
make sure the .tmux.conf on remote machine contains the following line and that xclip is installed.
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary"
This way when you ssh into a remote host, the .Xauthority cookie is created and the $DISPLAY is set to localhost:10.0
so xclip executed on remote host would update the content of the local buffer.
Metadata
Metadata
Assignees
Labels
No labels