LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-01-2020, 02:26 AM   #1
zuriel
Member
 
Registered: Aug 2012
Distribution: Slackware
Posts: 60

Rep: Reputation: 50
sshfs issue with -current


An sshfs mount wasn't working after updating my server yesterday and didn't produce a useful error.

Did some digging, and it looks like sshd is looking for sftp-server in the wrong path.

With LogLevel DEBUG on the server, I get this in the server log:

Code:
debug1: subsystem: cannot stat /usr/lib/ssh/sftp-server: No such file or directory
I created /usr/lib/ssh/ and put a symlink in there to /usr/libexec/sftp-server and sshfs mounted normally.

Is this an issue with openssh-8.3p1 or did I break something?
 
Old 06-01-2020, 03:05 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I can confirm that sshfs is working fine here with the new openssh.

the location of the daemon taking care of the sftp subsystem is defined at the bottom of /etc/ssh/sshd_config on the server with this line
Code:
Subsystem       sftp    /usr/libexec/sftp-server
maybe have a look at your /etc/ssh/sshd_config?
 
3 members found this post helpful.
Old 06-01-2020, 03:30 AM   #3
zuriel
Member
 
Registered: Aug 2012
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: 50
Aha! I did break something.

I couldn't find where it was getting the path. Sure enough, I'd changed my sshd_config and it was wrong.

I probably changed it a week ago and just now restarted sshd.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BUG: sshfs missing in tagfile in -current (32 bit) .Lightning Slackware 1 10-07-2016 04:30 AM
Using Knock with sshfs (fish) pAn1k Linux - Networking 0 07-10-2006 12:34 AM
sshfs reports invalid free space on remote machine +Yan Linux - Networking 2 04-10-2006 05:37 AM
Anyone using Slackware and SSHFS? JockVSJock Slackware 6 12-20-2005 05:22 AM
shared filesystem crap: shfs, sshfs, lufs, fuse whansard Linux - Networking 1 06-26-2005 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration