Get the latest tech news

Bcvi – run vi over a 'back-channel' (2010)


If you use SSH, you might find bcvi useful. This article attempts to describe what it is and why you might use it.

a bcvi'listener' process had been launched by Sally's X session startup scripts the ssh command used to connect to 'pluto' was actually a shell alias that set up the environment and invoked the real ssh command with additional parameters for port forwarding the 'back channel' Sally's login script on 'pluto' invoked bcvi to unpack the environment and set up the required authentication key the vi command used to edit the file on pluto was actually a shell alias that invoked bcvi to pass a message over the backchannel to the listener process on Sally's workstation the listener process unpacked the message to extract the hostname and filename information needed to launch this command: This second example used all the same infrastructure as the first (listener process, shell aliases and port forward) but added the command bcp. If SSHMenu detects bcvi in your search PATH, an extra checkbox will be added to the Host Connection dialog:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Channel

Channel

Photo of Bcvi

Bcvi

Related news:

News photo

YouTube shut down audio developer's channel of 15 years standing for "reasons"

News photo

The channel stands corrected: Hardware is a refresh cycle business now

News photo

Inside the AI back-channel between China and the West | Computer scientists are reaching out across the geopolitical divide to try to stop an apocalypse