i was trying to login to the DC running sklark 4.4 with SFTP to install some stuff to /mnt/conf/bin for a custom user startup script and getting the following response…
with filezilla…
Status: Connecting to 10.0.1.184...
Response: fzSftp started, protocol_version=8
Command: open "outernet@10.0.1.184" 22
Command: Trust new Hostkey: Once
Command: Pass: ********
Status: Connected to 10.0.1.184
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
Status: Disconnected from server
so i tried with the command line client on OSX…
MacBook-Pro:desktop me$ sftp outernet@10.0.1.184
outernet@10.0.1.184's password:
sh: /usr/libexec/sftp-server: not found
Connection closed
checking that file location…
[Skylark][root@outernet:/usr/libexec]$ ls -la /usr/libexec
total 47
drwxr-xr-x 3 root root 2048 Jan 1 2017 .
drwxr-xr-x 1 root root 100 Jan 1 2017 ..
-rwsr-xr-x 1 root root 43260 Jan 1 2017 dbus-daemon-launch-helper
drwxr-xr-x 2 root root 2048 Jan 1 2017 sudo
looks like SFTP is not installed, unless its somewhere else and misconfigured…
Chris
KC8BFI
2
Skylark 4.4 is running Dropbear for SSH and related services. SFTP is part of that service suite. Instead of interactively transferring files with that command, sending with scp on the command-line to a known destination generally works fine as long as you remember to not add a -C to your options.
yea however it prevents the use of an FTP client to move many file easily…
the point was to bring notice about the missing SFTP binary in /usr/libexec/sftp-server…