today I started to work on SFTP setting to implement a real-time sync.
despite the basic default consiguration /etc/ssh/ssh_config file
host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
the server do not follow this config file. By instance after creating few users, despite I used
DenyUsers USER1,USER2
I could still connect remotely with SSH
As well despite there is no Subsystem about sftp I can access via sftp $sftp user1@remote.host
I also followed this link but when I was logged in I could move around the whole file system and could not restrict the user to one directory
At the end it seams to me there are some other files overriding the default setting file or there is something I can't see.
General question: after every change to the file /etc/ssh/ssh_config I restarted the ssh daemon with
service ssh restart
Considering I work remotely with the server via ssh, should not the connection drop after every restart? This do not happen
thanks
/etc/ssh/sshd_config
sudo nano /etc/ssh/sshd_config
)