Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Santos on July 08, 2021, 01:38:33 AM

Title: TC/MC 12.0 x86 sftp not working
Post by: Santos on July 08, 2021, 01:38:33 AM
Hello

Just reporting, sftp not working.

When I tried to mount TC/MC 12 x86 server with ssfs either from another TC machine or from a different distro, the connection simply gets dropped.

sftp perse works:

Code: [Select]
sftp HOST PORT

But sshfs doesn't works ("normal way" or reverse tunneling)

Code: [Select]
sshfs user@host:/path /client/path -p PORT

OR

Code: [Select]
ssh -R 8888:localhost:22 remoteuser@remotehost -p PORT
sshfs user@127.0.0.1:/path /client/path -p 8888

Issue is not present in TC/MC x86 11.1 or lower.
There is no specific error, just says connection closed by remote server (something like it), as if the server was not active/running/set up (even though it is).
Title: Re: TC/MC 12.0 x86 sftp not working
Post by: patrikg on July 08, 2021, 03:18:23 AM
Have you tried to debug the ssh ?

Something like this.


Code: (bash) [Select]
sshfs -d -o sshfs_debug -o LOGLEVEG=DEBUG3 user@host:/path /client/path -p PORT
Title: Re: TC/MC 12.0 x86 sftp not working
Post by: Santos on July 08, 2021, 07:11:59 PM
Thank you very much.

At the moment I'm using MC 11.1 x86, all my setup is based on it. Probably I'll be taking a look into next in the coming weeks.

The post is for other users to be aware that there may be issues with  sftp  in recent MC/TC versions.