You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: