fix ssh_dir variable