I have two Linux machines. One of them must be a sftp server. I added the following lines to
#SFTP server configuration Match Group root ChrootDirectory /share ForceCommand internal-sftp
So now I can put and get files over sftp, but when I try to connect with my sftp server over ssh I get the following error:
This service allows sftp connections only.
What should I do to enable both sftp and ssh to root?
Thank you in advance for any help.