Lftp is an FTP tool under Linux that supports FTP, FTPS, HTTP, https, hftp, fish, SFTP, file and other protocols (support for HTTPS and FTPS, which must be compiled together with the OpenSSL library). The shell-like command format is built into LFTP, allowing multiple commands () to be executed in the background simultaneously. All background work is performed in the same program (process), the commands that can be executed in the foreground are place
More commands and software are appropriate for FTP operations. Linux under the common operation commands are FTP, LFTP and SFTP, graphical interface is very easy to use FileZilla. However, in the server command interface, I still feel that lftp is more convenient to use, the function is more powerful than FTP. Lftp's interface is much like the Linux shell, with command completion, history, allowing multiple background task execution, bookmarks, queues
The common operation commands under Linux are FTP, LFTP and SFTP, and the graphical interface is very useful FileZilla. However, in the server command interface, LFTP is more convenient to use and more powerful than FTP. Lftp interface is like the Linux shell, with command completion, history, allowing multiple background task execution, bookmarks, queueing, mirroring, breakpoint continuation, multi-process download and other functions.Login FTP comma
Psftp is part of putty and can be used independently, but it is recommended that you go to http://www.chiark.greenend.org.uk /~ Download the complete putty installation package from sgtatham/Putty/download.html. After the installation, you have an almost complete remote access solution.
Psftp is a client program that supports SFTP protocol. SFTP is often used for projects that upload files or maintain Sour
the connection but does not close PSFTP.
2.4 cd, pwd, LCD, lpwd command
You already know what cd and pwd do. They work on remote servers. LCD and lpwd are added with Local before cd and pwd, that is, the path change and display path of the Local machine. You can also use it! Cd ,! Pwd to implement LCD and lpwd.
2.5 get and put commands
Get and put, pictogram command :), indicates download and upload.
Get something.txt
Get something.txt another.txt
The first line of the authorization code downlo
Help view command.
4. Use LCD to switch local path.
5, use put upload, use get download. But using Put,get can only manipulate a single file
6. Use mget,mput upload to download multiple files.
7. After entering psftp, you can see the usage of the command after entering help.
The upload project can be set up by tools->deployment->configuration, such as Pycharm, to implement a session through the Tools->start SSH session. However, it is important to
, using-s:filename, more commands Please enter-H view.
2, FTP login successful, need to download a remote single file, use Get command, if download multiple files, with mget, it supports wildcards, in the use of mget, you need to choose each file y/n, if you want to not interactive download all the files, You can enter a prompt command to turn off interactive mode once.
the mput and Mget commands should note two questions:
Ⅰ, unable to specify
YesThe "passwordauthentication" setting allows password validation.Permitemptypasswords NoThe "Permitemptypasswords" setting allows you to log in with an account with a blank password.Allowusers Admin"Allowusers" can be followed by any number of user name matching string (patterns) or [email protected] Such a matching string, these strings are separated by a space. The host name can be a DNS name or an IP address.Using SFTP instead of FTP to transfer
in.Syslogfacility AUTH"Syslogfacility" sets whether "facility code" is given when recording messages from Sshd.LogLevel INFOThe "LogLevel" setting records the level of the SSHD log message. Info is a good choice. See the man help page for sshd for more information.Rhostsauthentication NoThe "rhostsauthentication" setting is sufficient for security verification only with rhosts or "/etc/hosts.equiv".Rhostsrsaauthentication NoThe "Rhostsrsa" setting allows for security verification with RSA or "/
; pwdWhen sending and obtaining files, you also need to change the local directory to find the directory where the files to be sent are located and the directory where the obtained files are stored. You can use the LCD command to complete the process:Ftp> LCD directoryThe LCD command rules are the same as those for Unix CD commands.(4) Multi-file transmissionWe have discussed get and put commands. Only one file can be transferred at a time. Sometimes, if you want to transmit multiple files at a
address.
Use SFTP instead of FTP to transfer filesFTP (file transfer protocol) is a widely used method for transferring files over the network. However, it is also vulnerable to network eavesdropping, because it also transmits user authentication in plaintext
Information. In fact, the SSH software package already contains a Secure file transmission subsystem called SFTP (Secure FTP).
Machine One: 192.168.1.97Machine Two: 192.168.1.981. FTPFormat: FTP [hostname| ip-address]A) under Linux command line input: FTP 192.168.1.98b) The server asks your user name and password, enter the user name and the corresponding password, respectively, to be certified.Download File Get|mgetget [Remote-file] [Local-file]Mget [Remote-files]Uploading Files Put|mputPut Local-file [Remote-file]Mput Local-files2. sftpPerformed on 97:
SSH Service Architecture: C/SS-End: 192.168.100.151C End: 192.168.100.150S-End Operation:Yum-y Install openssh-clients openssh-server OpenSSH # #安装ssh/etc/init.d/sshd startChkconfig sshd onC-terminal operation: Remote linkLinux systems:Yum-y Install OpenSSH openssh-clientsSSH user @ipSSH [email protected] # #root是S端的root用户 If the user is omitted to attempt to log in as the current user of the client.SCP local file User @ip:/remote directory # #上传, the user must have write access to the directory
. Commands are:
! CR Mdir Proxy Send
$ delete mget SendPort site
Account Debug mkdir put size
Append dir mls pwd status
ASCII disconnect mode quit struct
Bell Form Modtime Quote System
Binary get mput recv sunique
Bye Glob newer Reget Tenex
Case Hash Nmap Rstatus Trace
CCC Help Nlist Rhelp type
CD Idle Ntrans rename user
Cdup Image Open Reset Umask
chmod LCD Passive Restart verbose
Clear LS private rmdir?
Close Macdef Prompt Runique
Cprotect Mdelete P
Like a function template, a class template is used to enable a user to define a pattern for a class so that some data members in the class, parameters of some member functions, and return values of some member functions can take any type. A class template is an abstraction of a class of classes that differ only in the number of member data types, and programmers simply create a class template for the entire class family of this batch of classes, giving a set of program code that can be used to g
Like a function template, using a class template enables a user to define a pattern for a class, allowing some data members in the class, arguments to some member functions, and return values of some member functions to take any type. A class template is an abstraction of a class that is different from a group of member data types only. Programmers can greatly improve the efficiency of programming by creating a class template for the entire family of classes, giving a set of program code to gene
Like a function template, using a class template enables a user to define a pattern for a class, allowing some data members in the class, arguments to some member functions, and return values of some member functions to take any type. A class template is an abstraction of a class that is different from a group of member data types only. Programmers can greatly improve the efficiency of programming by creating a class template for the entire family of classes, giving a set of program code to gene
Original Couldn't read packet: Connection reset by peer troubleshooting (recommended), couldnpacket
As an O M engineer, not how much you know is your value, but how many mistakes you encounter are your greatest value.
You know, you have me, you have a lot, you have a lot of mistakes, I have you, it's my value.
I have encountered a very difficult error, so I 'd like to share it with you.
The following example shows how to use the root permission on a simulator to avoid permission errors.
On Apri
Glossary
Local host: Run secuecrt to manage remote Linux or Unix machines (generally Windows)
Remote Host: the host managed by secuecrt (generally Linux or UNIX)1. Enable SFTP
2. Introduction to SFTP commands
Serial number
Command
Purpose
1
ASCII
Set transmission mode to ASCII
2
Binary
Set the transmission mode to binary
3
CD
Change the default dir
Linux and Cloud computing--the second phase of Linux Server SetupChapter III: SSH server erection (bottom) OpenSSH advanced650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/84/7E/wKioL1eR7ZHCKzJZAAddXjRcms0785.jpg-wh_500x0-wm_3 -wmp_4-s_1068003250.jpg "title=" 884345685159655994.jpg "alt=" Wkiol1er7zhckzjzaaddxjrcms0785.jpg-wh_50 "/>5.sftp+chrootConfiguration SFTP only + Chroot.Give Some users limi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service