Congo you have successfully SSH into remote server 🎉
now we access the file system of the server & also we can run the app in debug mode.attach debugger to that process. if you want to know how to attach debugger to the nodeJs apps. let me know in the comment section.
Troubleshooting
SSH key permission issue fix for Windows
if you get this error on windows
C:\>ssh ubuntu@192.168.0.1 -i private-key.ppk @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions for 'private-key.ppk' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "private-key.ppk": bad permissions ubuntu@192.168.0.1: Permission denied (publickey).