Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

The tag has no usage guidance.

0
votes
0answers
31 views

Why is network latency becomes too long when edit in the sshfs mounted files

I mounted the remote server directory to my local machine mount point with sshfs. Thus I could use my local vim to edit my code, it is much faster than editing with the vim installed to the remote ...
0
votes
1answer
52 views

how could I use gvim through ssh two hops

I sometimes need to work on remote server which does not have x11 installed and thus I cannot use vim with its full features. I want to work on remote server with the gvim installed to my local ...
0
votes
0answers
25 views

What does “No lines in buffer” mean when editing via scp?

I was using vim scp:// and e scp:// to edit remotes files. Sometimes I failed to open and got message --No lines in buffer--. What does mean and how I should solve?
1
vote
0answers
26 views

Update OS enviroment variables from inside VIM

I use vim inside tmux over an ssh session and I often run into the issue where the $DISPLAY variable gets changed, screwing up my copy-paste. When I log in, $DISPLAY gets assigned to something new: ...
-4
votes
1answer
111 views

Why vim scp can't read file on my remote vps? [closed]

Password-free ssh authentication had been set. There is a file /home/test.txt in my remote_ip. vim scp://root@remote_ip//home/test.txt Why vim scp can't read file on my remote vps? vim --version ...
1
vote
2answers
249 views

how to point xdebug back to vim on local host

I'm following the instructions here to setup xdebug on my local machine on vim. Everything went smooth, until I reached this part: To initialize a debugging session, XDebug will attempt to make a ...
2
votes
1answer
127 views

Fugitive Gbrowse while being ssh on a server

I work remotely via ssh on my dev machine which runs a tmux. I want to pipe the output of the Gbrowse back to my laptop. Is there any reasonable way to do that.
1
vote
0answers
56 views

How to find out the default system copy register? [duplicate]

I want to know how to find the default copy register on any machine. I ssh into different machines and use vi. But on some of them the "+ and/or "* registers don't work. Also when I can use my mouse I ...
0
votes
0answers
271 views

System clipboard not working via ssh [duplicate]

I work on a remote server and would like to yank stuff to the server's clipboard. However "+y gives me an error flash (visual terminal bell) and when quitting vim, I can't paste in the terminal. ...
4
votes
1answer
537 views

trailing spaces when copying text from vim session in one server to vim session in another server

I have two windows open in tmux(version 2.3). In first tmux window I have a SSH session to server1 and in second tmux window I have a SSH session to server2. In server1 I opened a shell script with ...
0
votes
1answer
217 views

Vim remotely over SSH channel and see the MATLAB figures

I want to ssh into a Linux server from my macbook, and code Matlab, execute my Matlab code and see the figures that are produced by Matlab all through the one single SSH channel. I note that, I don't ...
8
votes
3answers
2k views

Navigating using SSH

I know one can use vim scp://host/path/to/file to edit locally remote files then update the remote machine when saving (:w). However I would like to know if it's possible to navigate through ...