@nwdbs Since its specific to AWS LightSail I wasn’t sure if this would be the appropriate place to post the solution… but if it helps someone else here goes.
Amazon AWS Lightsail LAMP instance uses Bitnami as the virtual appliance for hosting. If you use it for Scriptcase applications then in order to get it to allow a connection for deployment using the SFTP option in Scriptcase you have to edit your bitnami instance by logging in to it with SSH or through the web based SSH console on the AWS website…
Step 1 Create a new user: https://docs.bitnami.com/general/faq/administration/provide-additional-ssh-access/
Step 2 allow Password logins:
- Change the SSH server configuration /etc/ssh/sshd_config. Find the PasswordAuthenticationline, edit it and include the other line
… AuthenticationMethods publickey,password PasswordAuthentication yes …
- Set a password for the bitnami user
sudo passwd bitnami
- Restart the SSH server service
sudo service ssh restart
Please do not exit the current SSH session, just open a new one and verify that you have access to the instance after applying the changes.