WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC/MC 12.0 x86 sftp not working  (Read 1837 times)

Offline Santos

  • Full Member
  • ***
  • Posts: 106
TC/MC 12.0 x86 sftp not working
« 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).

Online patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 705
Re: TC/MC 12.0 x86 sftp not working
« Reply #1 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

Offline Santos

  • Full Member
  • ***
  • Posts: 106
Re: TC/MC 12.0 x86 sftp not working
« Reply #2 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.