add ssh pty
remove swap file