Caja Connect to Server with SSH doesn't work

Hi there,

I've some trouble to connect a volume via ssh with caja-connect-server dialog.
What I fill in:

  • Server: IPv4-Address of local network server
  • Port: 22
  • Type: ssh
  • Folder: /home/ast
  • User Name: ast
  • Password: **********
  • No check on Bookmark
  • No Bookmark name

Result is: Connection failed (message at top of dialog box).

What I've checked so far:

  • SSH is running at desired IP-address

  • SFTP Subsystem at 'server' is running

  • Password and user are correct ssh [email protected] works like a charm

  • on local machine (where I try to connect from) gfvs-backend, gfvs-sshfs and other candidates are installed

  • UFW/iptables is not blocking anything, in fact, switched it off for testing

  • looked into logs on server (deamon.log, syslog, auth.log). auth.log recognized a correct connection, which is disconnected 'by user' immediately, no error messages in other mentioned log files.

  • I ran caja-connect-server from commandline: no messages at all

  • Local Machine uname: 'Linux kei 5.0.0-27-generic #28-Ubuntu SMP Tue Aug 20 19:53:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux' / Ubuntu 19.04, freshly upgraded

  • Remote Machine uname: 'Linux ncserv 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64 GNU/Linux' / Debian 8.11 (jessie).

Does anyone has any idea, why I can't connect?

Greetings,
fabos

Hi,

Tested, it works for me.

If you have access, I suggest to raise loglevel at server in /etc/ssh/sshd_config to verbose or debug to see if it can give something useful.

Just a thought...
For diagnostic purposes you could try to connect to the server in question via command line using scp command using -v option.

Just another thought: actually, the problem is better investigated with command line version of sftp with elevated logging level. It looks like Caja uses sftp, not scp.