Re: konquerer access to Stretch with fish or sftp not working
Thomas, on 2019-06-10 :
> might be an paramater has to be set if access to strech with
> fish or sftp?
Good Day Thomas,
Yes, by default Debian puts the following option into the
configuration file /etc/ssh/sshd_config of your SSH *server* :
Subsystem sftp /usr/lib/openssh/sftp-server
This should be a default setting, so unless it has been removed
from you SSH server for some reason, you should be able to
proceed to SFTP connections already. I don't know fish well
enough to tell you if another subsystem is required or not but
it should definitely work with SFTP.
> thomas@richard:~$ sftp -v root@192.128.1.20
> OpenSSH_6.7p1 Debian-5+deb8u7, OpenSSL 1.0.1t 3 May 2016
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug1: Connecting to 192.128.1.20 [192.128.1.20] port 22.
I'm not quite sure to follow you well here. Are you meaning
that the connection attempt is stuck at this debug message?
(in which case you probably have a more general issue that
should also appear when running `ssh root@192.128.1.20`)
Did it crash afterwards ?
Or did the connection to your SSH server actually worked ?
If the subsystem sftp was absent of your configuration, you
would probably have your connection attempt ending up with:
debug1: Sending subsystem: sftp
subsystem request failed on channel 0
Connection closed
> thomas@richard:~$ vi /etc/ssh/ssh_config
> Host *
> # ForwardAgent no
> # ForwardX11 no
> #
> #
> # RekeyLimit 1G 1h
> SendEnv LANG LC_*
> HashKnownHosts yes
> GSSAPIAuthentication yes
> GSSAPIDelegateCredentials no
Your SSH *client* configuration should not affect much your
capacity to make use of your sftp client, so nothing to
report here.
Kind Regards,
--
Étienne Mollier <etienne.mollier@mailoo.org>
Reply to: