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:
Install it on both the client and host machine.
On the client machine, run sshed_client and copy the command given on stdout to the shell where you want to run ssh
On the client machine, SSH to the host using the edssh command.
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:
Extract the Python modules and binaries on the client.
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.
In ~/.ssh/config, add a SendEnv line that sends “SSHED_SOCK”. See the note below.
Add sshed_client to run like ssh-agent does.
If the host has sshed installed, simply ssh to the host and use sshed
If sshed is not installed on the host, use edssh to SSH in.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sshedit-0.1.1.tar.gz
.
File metadata
- Download URL: sshedit-0.1.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3c6fc01d92769ce96c4b2d1809375049c45b2e28747aa2c5327b5902910cbc |
|
MD5 | 2c40dbde6e4c3c152be6cf8da62c5b7f |
|
BLAKE2b-256 | 77d86e0489ce740821e322767ab34db6ba2aeff535dff77cb8d8d5c2d8dfd3f6 |