Python Forum
PYSFTP - Password Change - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: PYSFTP - Password Change (/thread-6859.html)



PYSFTP - Password Change - torz - Dec-11-2017



Hi all,

I've just been having a quick read of http://pysftp.readthedocs.io/en/release_0.2.9/cookbook.html (maybe I'm looking in the wrong area / totally wrong site?!) but I'm trying to find out if there is a way to handle when the server wants you to update your password.

If I connect using winSCP, after 30 or 60 days (can't remember off the top of my head) it will pop up and ask you to change your password as it has expired. Does anyone know if there is a way to handle this? Ideally I'd like to update my password with one that python generates, encrypts and saves in my database...

Many thanks in advance...


Tory