quit - Terminate the session in SFTP

You can finish your SFTP session properly by typing quit.

psftp> quit

All the session related activities will be terminated immediately.

exit and bye commands will have exactly the same effect as quit.
All the PSFTP commands must be in lower case.