Migrate lib/ssh.py from constants to pathutils