I'm attempting to SSH into a Raspberry Pi on a subnet by means of ethernet utilizing the Fabric module however I can't sort out some way to confirm the connection.
My code so far is as per the following
c = fabric.Connection(host = "192.168.3.151", port = 22, user = "pi")
Clearly I haven't put in my password, "Raspberry", anyplace in the above code to confirm the SSH connection. I've been attempting to comprehend the Fabric documentation yet it's a little past me so I'm trusting somebody can reveal to me how to include the password to validate the connection (and furthermore confirm any orders using sudo).
Thanks in advance:)