Improved SSH Keygen (also bugfix for non-existing folder)