|
cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
When I attempt to invoke sftp from my absolute telnet 8.14 to my linux system, it logs the following message:
Apr 20 12:13:36 sts246 sshd[583]: subsystem request for sftp
Apr 20 12:13:36 sts246 sshd[583]: error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory
Apr 20 12:13:36 sts246 sshd[583]: subsystem request for sftp failed, subsystem not found
Here is what I have loaded...
# rpm -qa | grep sftp
sftp-0.9.9-6
(0) root @ : /var/log
# rpm -qa | grep ssh
openssh-clients-5.0p1-afs.2
openssh-server-5.0p1-afs.2
openssh-5.0p1-afs.2
openssh-askpass-5.0p1-afs.2
|
|
|
Logged
|
|
|
--
Jack Moore
Austin, TX, Ya'll
|
|
|
The administrator has disabled public write access.
|
|
|
Re:cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
Oh, so my question is - how do I get around this? What's the fix?
Thanks!
Jack
|
|
|
Logged
|
|
|
--
Jack Moore
Austin, TX, Ya'll
|
|
|
The administrator has disabled public write access.
|
|
|
Re:cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
First, you need to find where the sftp-server binary is. In my installation it is here:
/usr/libexec/openssh/sftp-server
From your log info, you are looking here:
/usr/libexec/sftp-server
If you are simply looking in the wrong place, you can update your sshd_config to point to the correct location. If the binary is actually missing, you can try re-installing the RPM. The sftp-server binary should be in the openssh-server rpm.
Let me know what you find.
Brian
|
|
bpence (Admin)
Admin
Posts: 1200
|
Logged
|
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
|
The administrator has disabled public write access.
|
|
|
Re:cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
Found it at /usr/libexec/openssh/sftp-server and updated sshd_config. Then restarted sshd. Still can't start it and the message in the log file is still referring to the old location...
What's the next step?
Thanks Brian!
Jack
|
|
|
Logged
|
|
|
--
Jack Moore
Austin, TX, Ya'll
|
|
|
The administrator has disabled public write access.
|
|
|
Re:cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
How did you restart sshd?
Brian
|
|
bpence (Admin)
Admin
Posts: 1200
|
Logged
|
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
|
The administrator has disabled public write access.
|
|
|
Re:cannot stat /usr/libexec/sftp-server 1 Year, 9 Months ago
|
|
|
service sshd restart
How do you do it?
-
# service sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
|
|
|
Logged
|
|
|
--
Jack Moore
Austin, TX, Ya'll
|
|
|
The administrator has disabled public write access.
|
|
|