# Connexion to default port 22 sftp your_user@your_server_ip_or_remote_hostname # SFTP local directory sftp> lpwd # SFTP remote directory sftp> pwd