>>>> "Sandy" == Sandy Rutherford
>>>> "Re: rssh.el interactions with ange-ftp/efs "
>>>> Sun, 17 Jan 1999 23:04:34 -0800 (PST)
>>>> On Sun, 17 Jan 1999 10:04:01 -0500,
>>>> "John A. Martin" <jam(a)jamux.com> said:
> A quick look indicates that ftpsshd works as advertised on
> linux when built with gcc-2.7.2.1 and libc5 with slight obvious
> adjustments. Normal remote ftp server and local ftp clients
> are used with both control and data channels redirected through
> ssh encrypted (and optionally compressed) connections. I found
> both the ftp client from NetKit-B-0.09 and ncftp-1.9.9e to work
> for me with no surprises when talking through ftpsshd to a
> wu-2.4.2-academ[BETA-18] ftp server.
> ftpsshd is GPLed and might be a candidate to let efs do
> ssh-1.2.26 secured ftp. ftpsshd itself contains no crypto. A
> little work would be needed to make ftpsshd portable wherever
> ssh-1.2.x goes; but it is small, the sources total less than
> 1,300 lines including comments.
Sandy> From what I've read of the README file for ftpsshd 1.1, it
Sandy> should work with EFS as is, or with very minor
Sandy> configuration changes. This of course assumes that your
Sandy> ssh is using RSA authentication with an empty pass phrase.
Sandy> Otherwise, EFS would have to authenticate with the pass
Sandy> phrase for every data transfer. Getting EFS to do this
Sandy> would require some changes to the code.
When using the ssh-agent it should be possible to enter passphrase(s)
only once during login session or similar. Using an empty passphrase
requires close attention and close control of the operating
environment to prevent exploitation. Without ssh-agent a passphrase
would be required for each ssh connection, not each ftp connection.
Sandy> Has anyone already tried to use ftpsshd with EFS?
I don't grok how to tell efs to do the equivalent of
ftp localhost 2121
for one non-local connection, and
ftp localhost 2122
for another while still being able to connect the old way.
The above would be after having previously done something like
ftpsshd -C -p2121 host1.dom1.ain
ftpsshd -C -p2122 host2.dom2.ain
from a shell. This is where ssh passphrase(s) would be called for
when not using ssh-agent. All this is assuming that ssh and sshd are
optioned 'RSAAuthentication yes' which is usually what is wanted.
jam