To ignore warnings, try this:
python -Wignore ./script.py
If you can't do that, do this before the failing import or code use this (reset after import or code use):
import warnings warnings.simplefilter("ignore",DeprecationWarning ) import paramiko warnings.resetwarnings()
I will probably use 2.6 for a while yet, so this note will probably come in handy :-)
If your issues are "with" older 2.5 installs - top your script off "with":
from __future__ import with_statement