I want to turn my raspberry pi 3 model B into a public server (only for testing purposes not production purposes). I have a second windows PC in which cygwin is available for linux commands such as:
ssh root@ipadress -p port
When I try to connect my raspberry pi locally using putty with the local ip adress, I can reach raspberry pi's terminal over putty.
But I cannot connect raspberry pi with the 'ssh' command neither using local ip adress nor public ip adress.
Locally 'permission denied' warning appears, publicly 'connection refused' warning appears. What can be the source of my problem? - PS: I also cannot connect with putty using the public ip.