I read the What is the difference between SSL vs SSH? Which is more secure? , and it mentions there is the possibility they can be affected by similar attacks. Now that the heartbleed thing is out, is the ssh used in python through Paramiko affected by this?
Only 1.0.1 and 1.0.2-beta releases of OpenSSL are affected including 1.0.1f and 1.0.2-beta1.
So, to answer your question: It depends on whether OpenSSL is used on your system, and which version is currently installed.
If you notice your system is vulnerable, the recommendation is to:
- Patch the OpenSSL component as soon as possible;
- Renew the X.509 certificate that's used by OpenSSL;
- Change (or enforce changing) the passwords of all accounts on the system.
To mitigate the risks associated with the Heartbleed bug, all of the above steps are necessary, and must be executed in the correct order.