Question: how to enable sftp server in ubuntu?
Answer: You can use your preferred SFTP client or the one built into Ubuntu by default - the Nautilus file manager. Open Nautilus file manager from within the Applications menu. Click on "Other Locations" and enter sftp://127.0.0.1 in the "Connect to server" box at the bottom of the window and click connect.