Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of Linux sftp command usage

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Sftp is the abbreviation of Secure File Transfer Protocol, secure file transfer protocol. It can provide a secure network encryption method for transferring files. Sftp and ftp have almost the same syntax and function. SFTP is part of SSH and is a secure way to transfer files to a Blogger server. In fact, the SSH package already contains a secure file information transfer subsystem called SFTP (Secure File Transfer Protocol). SFTP itself does not have a separate daemon, it must use the sshd daemon (the port number is 22 by default) to complete the corresponding connection and reply operations, so in a sense, SFTP is not like a server program, but more like a client program. SFTP also uses encryption to transmit authentication information and transmitted data, so using SFTP is very secure. However, because this mode of transmission uses encryption / decryption technology, the transmission efficiency is much lower than ordinary FTP, if you have higher requirements for network security, you can use SFTP instead of FTP.

Common command parameters

Usage: sftp [- 1Cv] [- B buffer_size] [- b batchfile] [- F ssh_config] [- o ssh_option] [- P sftp_server_path] [- R num_requests] [- S program] [- s subsystem | sftp_server] host sftp [user@] host [: file.] Sftp [user@] host [: dir [/]] sftp-b batchfile [user@] host

Common command display

Download / upload text remotely

# Connect to remote server sftp root@192.168.25.140# view current server path lpwd# view remote server path [default user home directory] pwd# upload file put current path remote connection # download file get remote path current path

Log in

Upload:

Keyboard shortcuts:

Alt+P

These are all the knowledge points about the Linux sftp command introduced this time. For more information, please refer to the relevant articles below.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report