SecureCRT how to upload and download data

Source: Internet
Author: User
Tags ftp connection sessions

Transfer from http://blog.sina.com.cn/s/blog_4af3b94f0101kfw5.html

————————————————————————————————————————————————————

securecrt This SSH client software also has a terminal emulator and file transfer capabilities. More convenient than the FTP command, and the server does not have to open the FTP service. Rz,sz is a command-line tool that is a Linux/unix zmodem file transfer with Windows .

  The Windows side needs to support Zmodem TELNET/SSH client,securecrt can use securecrt to login to unix/Linux Host (either Telnet or SSH).

Upload a file simply enter the command "RZ" in the shell terminal emulator to select the file on the local disk from the popup dialog and upload it to the server using Zmodem. Download file Simply enter the command "SZ file name" in the shell terminal emulator to download the file to "path/securecrt-5.1.3/download" using Zmodem /"directory. The default path for uploading and downloading can be modified by using "File Transfer". Set default directory: Options-->session options-->file transfer.

Note: You can set the copy-and-paste of the mouse with the global option---terminal.

If you want to change the background color and file name color of the securecrt terminal, simply click "Options"-"Session Options" on the menu bar and select "ANSI Color" and "the" in the right window of the "terminal"-"emulation" category. Select an alternate keyboard emulation-Linux".

Summarize the following three ways of securecrt files.

1. SCP
SCP can copy files between 2 Linux hosts
SCP [ -1246BCPQRV] [-C cipher] [-f ssh_config] [-I identity_file] [-L-limit] [-O ssh_option] [-P port] [-S program] [[[Emai] L Protected]]host1:]file1 [...] [[Email Protected]]host2:]file2

Scp-p Port [Email protected]:/home/user/filename/home/user/filename

Take the upper port capital P as the parameter, port user is the SSH user ServerIP is the remote server IP or domain name,/home/user/filename the file name of the remote server/home/user/filename Local The file name of the service server. The purpose of this command is to copy the remote filename to the local corresponding directory.

For example, upload a file to the Management server [[email protected] ~]# SCP./load.sh [Email protected]

* Copy files :
* Command format:
SCP Local_file [Email Protected]_ip:remote_folder
Or
SCP Local_file [Email protected]_ip:remote_file
Or
SCP Local_file Remote_ip:remote_folder
Or
SCP Local_file remote_ip:remote_file 1th, 2 Specify the user name, command execution after the need to enter the password, the 1th only specifies the remote directory, the file name is unchanged, 2nd specified the file name;
3rd, 4 does not specify a user name, command execution after the need to enter a user name and password, the 3rd only specifies the remote directory, the file name is unchanged, 4th specified the file name;

* Copy directory:
* Command format:
Scp-r Local_folder [Email protected]_ip:remote_folder
Or
Scp-r Local_folder Remote_ip:remote_folder

The 1th one specifies the user name, the command executes after the need to enter the password;
The 2nd does not specify a user name, the command will need to enter the user name and password after execution;
* Routine:
Scp-r/home/space/music/[Email protected]:/home/root/others/
Scp-r/home/space/music/www.cumt.edu.cn:/home/root/others/

The above command copies the local music directory to the remote others directory, which is remotely available after replication. /others/music/Directory

======
Copy from remote to local
======
From remote copy to local, as long as the copy from the local to the remote command of the following 2 parameter Exchange order;

For example:
SCP [Email Protected]:/home/root/others/music/home/space/music/i.mp3
Scp-r www.cumt.edu.cn:/home/root/others//home/space/music/

The advantage of SCP is that it is easy to use and the disadvantage is that you cannot list remote directories and change directories.


2. ZMODEM file Send/recv
RZ: Upload a file simply enter the command "RZ" in the shell terminal emulator to select the file on the local disk from the popup dialog and upload it to the server using Zmodem, for example (upload a rsyncd.conf file to the server):
[Email protected] ~]# RZ
RZ waiting to receive.
Starting Zmodem transfer. Press CTRL + C to cancel.
Transmitting rsyncd.conf ...
100% 715 bytes 715 bytes/s 00:00:01 0 Error
SZ: Download file simply enter the command "SZ file name" in the shell terminal emulator and you can download the file to the path/Zmodem using theSecureCRT-5.1.3/download/"directory, for example (download the rsyncd.conf file in the current directory of the server to local):
[Email protected] ~]# sz rsyncd.conf
Rz
Starting Zmodem transfer. Press CTRL + C to cancel.
Transmitting rsyncd.conf ...
100% 715 bytes 715 bytes/s 00:00:01 0 Error

3. sftp
SecureCRTPress Alt+p to open a new session for FTP operation.
Input: The help command, which shows that FTP provides all the commands
PWD: Querying the directory where the Linux host resides (that is, the remote host directory)
LPWD: Querying a local directory (typically the directory where Windows uploads files: we can see "session Options" in the "Options" drop-down box, two: We know the local upload directory is: d:/My Documents)
ls: query which files are connected to the directory in which the current Linux host resides
LLS: Query what files are currently in the local upload directory
LCD: Change the path of the local upload directory
CD: Change the remote upload directory
Get: Download files from a remote directory to a local directory
Put: Uploading files from a local directory to a remote host (Linux)
Quit: Disconnect FTP connection

------------------------------------------------------------------

The Vandyke CRT and Vandyke SecureCRT are the most commonly used terminal emulators, simply the software that Windows logs on to UNIX or Liunx server hosts. The difference is that SECURECRT supports SSH (SSH1 and SSH2).

This paper mainly introduces the methods and techniques of using SECURECRT.

Software
SECURECRT terminal emulation program Chinese green portable cracked version
SECURECRT 32-bit Green Portable Special edition
SECURECRT 64-bit Green Portable Special edition

"Conceptual Interpretation" what is SSH?

The English name of SSH is secure Shell

Traditional Web services, such as FTP and Telnet, are inherently insecure because they transmit passwords and data in plaintext on the network, and it is very easy for someone with ulterior motives to intercept the passwords and data. And through the use of SSH client and server-side communication, the user name and password are encrypted, effectively prevent the password eavesdropping. At the same time, the data transfer via SSH is compressed, so it can improve the transmission speed, so why don't we use it. SSH is made up of client and server software, and there are two incompatible versions: 1.x and 2.x respectively. As for how to install the server side, ordinary users do not need to care.

First, installation

1. Installation

First to download SECURECRT, the latest version is 6.1.3 (as of February 2008, its cracked version tbe or again), we take the 5.53 version as an example of the introduction, download the installation file Scrt553.exe and cracked file Keygen.exe.

The installation process is simple, run Scrt553.exe, as long as "next", the installation process can be seen SECURECRT support the following protocols:

SECURECRT instructions for use-Home of the script

After the installation is complete, the first boot securecrt will be prompted as follows:

SECURECRT instructions for use-Home of the script

The user needs to specify a directory to hold the configuration information for the SECURECRT. This directory defaults to C:\Documents and Settings\ user name \application Data\vandyke\config, if the upgrade securecrt need to keep this folder consistent with the old version, if you reload the system, be sure to back up this directory.

If you need to change, start securecrt and click options = Global ptions = General to modify the Configuration folder.

2, crack

Not cracked version, only 30 days of use. Close SecureCRT, copy the Keygen.exe to the installation directory C:\Program FILES\SECURECRT, run it, fill in name,company and click Generate Get Serial, Date, License Key information, click the Patch button to crack and back up the SECURECRT main program.

Run SECURECRT, click help=> Enter License Data ..., fill in the registration information from keygen. General again crack version term for one year.

Second, basic settings

Modify settings

In order to SECURECRT use more convenient, need to make some settings, need to modify the following:

1. Exit the host Auto-close window

Options = Global Ptions = General = Default Session = Edit default Settings ...

SECURECRT instructions for use-Home of the script

Terminal the close on disconnect selected, the currently connected window can be closed automatically when the user exits from the host.

SECURECRT instructions for use-Home of the script

2. Modify the default volume screen number

When you do an operation, the screen output has hundreds of lines, when the need to turn the screen back, this setting will be a great help, the default is 500 lines, can be changed to 10000 lines, do not worry about not found.

Terminal = Emulation = Scrollback modified to 10000.

SECURECRT instructions for use-Home of the script

3. Modify the SFTP default download path (optional):

For connections using SSH, you can download the file using SFTP, where you can set the download directory for the file (by default, download to My Documents)

Connection = SSH2 = SFTP Tab = Initial directories = Local Directory

SECURECRT instructions for use-Home of the script

4, modify Xmodem/zmodem upload download path (optional)

SECURECRT can use Xmodem/zmodem to easily upload and download files.

Set in Session options =>xmodem/zmodem = Directories

5. Copy and paste settings

Copying or pasting what you need with a mouse is a very convenient setting

Options = Global ptions = Terminal = Mouse

Select Copy on select and Paste on middle button

When this is set, simply select the content with the mouse, copy the content to the Clipboard, click the middle mouse button to paste the content.

SECURECRT instructions for use-Home of the script

In addition, you can set the use of copy paste shortcut keys under windows, Options = Global ptions = General = Default Session = Edit default Settings ... =& Gt Terminal = Mapped keys = Use Windows copy and paste Hotkeys

SECURECRT instructions for use-Home of the script

6. Tabs setting

Since Secure5.0, the tabs (tab) option has been added, and multiple connections can be opened under the same window, similar to the IE7.0 style. Modify the double-click option to close tab and double-click the tab to close the Connection window.

SECURECRT instructions for use-Home of the script

Three, the interface introduction

1. Menu

1) file files

Connect ... Connect, open a connection or edit an existing connection to create a new connection.

Quick Connect ... Quick Connect, Quick Connect dialog box, quick connection to host the most convenient way.

Connect in Tab ... Opens a new session window in tab.

Clone session clones the current conversation window.

The Connect sftp tab opens the Sftp window, which is available for SSH connections. You can use the SFTP command to transfer files in this session window.

Reconnect reconnect

Disconnect interrupt the connection of the current session window

Log session logs the sessions of the current window to the log file.

The Raw log session logs more detailed sessions to the log file, including more detailed server response information.

Trace Options logs the protocol session Information option in the log file. (including some information content when the client and host are connected to each other)

2) Edit Editor

Copy paste, etc.

3) View

Show various toolbars

4) Options

Includes global options and session options

5) Transfer Transfer file

Uploading and downloading files using Xmodem/zmodem

6) script. Scripts

Run a script file, or record a new script. (Similar to the macro feature in Word)

7) Tools Tool

Keyboard mapping editing, key generation tools, etc.

8) Help

2. dialog boxes and buttons

Click File = Connect to see the Connect dialog box.

The left-to-right button is followed by:

Connect (Activate selected connection entry), quick Connect (shortcut connection to new host), New connection (add a connection entry in the dialog box), Cut, copy, paste, delete (the entry in the dialog box), create a new folder, properties (display the properties of the selected entry), make a desktop shortcut to the entry, help.

SECURECRT instructions for use-Home of the script

There are two options at the bottom of the Connect dialog box:

Show dialog on start (Show connect dialog when starting SECURECRT);

Open in a tab (opens a session as a new tab), select this option, as shown in the new session window:

Under the Linux host, you can easily upload and download files using Xmodem/zmodem.

Basic command: Sz download file to local, RZ upload local file to host.

5. Other Skills

1) Use scripts for repetitive work

You can record your repetitive actions as a script file like a Word macro

Script. = Start recording Script, start recording

Script. = Stop recording script, stop recording, Save as ... Save as a script file. Script at the next call. = = Run = Select Script. To run ...

SECURECRT instructions for use-Home of the script

2) Use the map key for repetitive input work

Can be set to the global option (valid for all connections), or it can be set only as session options, such as

Options = Session ptions = Terminal = Mapped keys = Map A key, the Map Key dialog box appears

SECURECRT instructions for use-script house SECURECRT instructions for use-Scripting house

For example, click the F12 key and enter the command that you want to reuse frequently in the Send String, OK

SECURECRT instructions for use-Home of the script

The next time you click the F12 key in the session window, you will be entered directly df–m

3) Automatic Login

To log in to a Telnet host, for example, Session ptions = Connection = Logon Scripts = Automate logon, enter the user name in send after login, Enter the password in send after password. You can implement automatic login.

SECURECRT instructions for use-Home of the script

Use SecureCRT to upload and download data

SECURECRT can use the Zmodem protocol under Linux to quickly transfer files, just set up the upload and download the default directory on the line

Options-->session options-->file transfer can be set to upload and download the directory

The rest is as long as you log into the Linux terminal with SECURECRT:

To send a file to the client:

SZ filename

Zmodem receive can start on its own.

Upload files from client to Linux server:

As long as the service side executes,

Rz

Then select the file to send in SecureCRT, protocol Zmodem.

SecureCRT how to upload and download data

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.