Solved Unable to remotely connect from midnight commander to my local pc or from my pc to laptop

For some reasons i cant connect to my local pc from laptop or from local pc to laptop inside midnight commander.
if i ssh from terminal to pc or from pc to laptop - works fine, but midnight commander gives me error:
Error
/sftp://evo@192.168.1.150
Resource temporarily unavailable ( 35 )

I do have pf.conf on my laptop - i disabled it - same issue.
My pc is fresh Stable 14.1 install, no pf.conf , sshd is running as im able use ssh from terminal.
And does not matter if i run mc or mc -u ( i know later one is sub shell but still had to try )
I deleted know_hosts files , tested again but this time first ssh connection from mc - same problems.
Im not sure i have ever done something in the past with MC as i used to use it to copy files from and to to my other pc`s .

Edit: i can use mc to remotely connect to my linux pc.
 
Have you tried sftp evo@192.168.1.150? If anything, this might give a hint if your issue is affecting sftp connections in general or if it might be specific to mc.
 
Have you tried sftp evo@192.168.1.150? If anything, this might give a hint if your issue is affecting sftp connections in general or if it might be specific to mc.
just tried in terminal this: connected.
tried in mc in sub-shell - connected.
other options - no go, same error.
actually - from linux to freebsd i get error 11 ( so probs 35 and 11 is related in some ways ) . deleted mc config files. re-installed mc. same.
Did some digging:
Code:
10680 26 01:47:22 FrankyBSD sshd[8511]: error: PAM: Authentication error for evo from 192.168.1.100
     12 26 02:03:18 FrankyBSD wpa_supplicant[65947]: wlan0: WPA: Group rekeying completed with cc:40:d
This is from laptop.
And im sure its from trying to connect from midnight commander.
If i check auth.log i see a lot of different ports for ssh: all random.
 
Did you build mc with sftp support enabled (think the default is on?) Or is it a pkg?

 
on laptop - pkg install
on ws - make install clean
I dont think this is MC issue as i can use MC to connect to Linux machine from FreeBSD machines.
 
Apparently using sh://... instead of sftp://... is said to be another workaround (e.g. if you want to have public key auth.) I haven't tried it myself, though.
 
Back
Top