Connect using SFTP - Opens SFTP session
sftp username@hostname_or_IP
Standard commands, used during SFTP session
Managing file system on remote computer
- pwd : Print working dir
- ls / dir : List contents
- cd : Change dir
- mkdir : Create dir
- rename : Rename file
- rm : Remove file
- rmdir : Remove an empty dir
- chmod : Change file permission
- chown : Change file owner
- ln / symlink : Create symbolic link
Managing file system on local computer
- lpwd : Print working dir
- lls : List contents of local
- lcd : Change dir
- lmkdir : Make dir
Transfer files
- get : Copy file from remote to local computer
- put : Copy file from local to remote computer
- exit / quit : Close connection and exit SFTP session
- version : Display SFTP version
- help / ? : Get help about SFTP command
No comments:
Post a Comment
Note: only a member of this blog may post a comment.