Skip to main content

No project description provided

Project description

# SSHEd

SSHEd is a small connector program that allows you to use a local text editor or IDE to edit files on a remote server without having to manually copy the file to the local machine. More importantly, sshedit gets run from the remote machine.

This means it can be used as a drop-in replacement for ed, emacs, nano, vi, etc. on remote machines over SSH.

## Installation For right now, you’ll need to do the following to use sshed:

  1. Install it on both the client and host machine.
  2. On the client machine, run sshed_client and copy the command given on stdout to the shell where you want to run ssh
  3. On the client machine, SSH to the host using the edssh command.
  4. On the host machine, you should now be able to use sshed as your editor, but only in the shell you connected via edssh.

## Editors You should set your $EDITOR environment variable to be a graphical editor that blocks the terminal until the file is closed. Some graphical text editors don’t block the terminal by default, so check for an option that’ll do so. For example, kate needs to be run with the -b argument to do so. In bash, you can set your editor to kate by running: export EDITOR=’kate -b’ I would recommend adding that to your ~/.bashrc to keep it across sessions.

## Future Versions Quite a few changes are planned before the 1.0 release. This section contains some basic ideas of the vision for sshed.

### Installation Eventually, the installation process will look similar to the following:

  1. Extract the Python modules and binaries on the client.
  2. On the remote host, modify the AcceptEnv line of /etc/ssh/sshd_config to include the text variable “SSHED_SOCK”. This isn’t required, but it helps.
  3. In ~/.ssh/config, add a SendEnv line that sends “SSHED_SOCK”. See the note below.
  4. Add sshed_client to run like ssh-agent does.
  5. If the host has sshed installed, simply ssh to the host and use sshed
  6. If sshed is not installed on the host, use edssh to SSH in.

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sshedit-0.1.1.tar.gz (20.5 kB) Copy SHA256 hash SHA256 Source None Jun 4, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page