FTP/SFTP

From EditPlus Wiki
Revision as of 01:20, 15 July 2008 by WikiSysop (Talk | contribs) (Reverted edits by ErcacDelta (Talk); changed back to last version by Jumphog)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SFTP Fix for OpenSSH

There is a limitation in EditPlus's implementation of SFTP that does not work with certain versions of OpenSSH. OpenSSH is the most commonly used implemenation of SFTP on Linux. If you can NOT to connect in EditPlus but you ARE with other applications (such as FileZilla, and the host is running OpenSSH version 3.8.1p1 or later, it could be that a simple configuration change on the server is all that is necessary to make it work.

Instructions:

  • Edit the sshd_config file (commonly located in /etc/ssh/).
  • Find the line that starts with: PasswordAuthentication.
  • Set it to yes instead of no.
  • Restart the SSH daemon by typing (as root): /etc/init.d/ssh restart
  • Alternatively use rcsshd restart if above doesnt work
  • Try to connect with EditPlus

Additional helps: To find out the version of SSH type: ssh -V
A very common version that contains the problem is: OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
--Submitted by Dean Householder on 21 Apr 2006

Simple SFTP running EditPlus under Wine

This tip not only applies to EditPlus, but ANY *nix app. First, install Fuse[1]. Then install the Fuse filesystem SSHFS [2]. Now you can mount SFTP at a normal mount-point and open/save files just like you would to a local directory.

Keep FTP settings on upgrade to V3

It seems editplus now uses a unicode inifile for its ftp settings (I guess the filename ftp2_u.ini gives it away). To avoid entering in all your ftp servers when you upgrade convert your file like so:

  • Open your old ftp2.ini
  • Find all occurances of 'sftp=0' and add 'utf8=0' on the line before
  • Save as ftp2_u.ini AND change the encoding to Unicode

See also