[Linux] Learning Note installation learning environment (SSHD, Lrzsz)

Source: Internet
Author: User

Immediately after the previous article, in VMware installed Linux, this time we want to use Remote Tools to connect to the virtual machine up, used to use putty, and later to the new company, recommended the use of SECURECRT, after use, feel good, but each connection failed, Linux novice injured, in the Internet search AH search, finally found a solution.

After searching for a lot of information, I found that I was unable to use the SECURECRT connection because I did not install the SSH service on Linux.

1. You can test this using SSH localhost, using the following:

2. Use Apt-get or yum to install the SSH service, which one of the operating systems to use, you can refer to another article:

[Linux] Yum and apt-get usage and differences

3. I installed the OS that CentOS belongs to the Yum faction, so use the following command:

4. Then start:

5. Some start-up use is/etc/init.d/ssh start

6. After the start, the use of SECURECRT connection success, the problem of a long time finally solved, hehe, the next step is to prepare to install other environments

6. After each restart of Linux, it is found that the SSH service also needs to be restarted, may be not joined to the startup item, may be resolved by the following methods

Use the NTSYSV command to set up the relevant settings:

Press the up and down keys to select sshd, press the TAB key to click OK:

Set up the SSHD service to start the boot complete.

You can also use the command: Chkconfig-Level 3 sshd on, set

This section references the connection: http://bbs.chinaunix.net/thread-2241356-1-1.html

under Linux How to make SSH service boot automatically run??

1. First check if the appropriate package for SSH is installed
Rpm-aq|grep SSH
2. If you have installed to see if the relevant port is open
Netstat-an|grep 22
3. Set Random Start
Select the sshd service via NTSYSV
It can also be set by Chkconfig
Chkconfig--Level 3 sshd on
4. When these parts are done and re-reboot, they cannot be linked via SSH.
Look at the fire protection settings of a system itself.
You can manually empty a rule
Iptables-f Enter
Iptables-t Nat-f Enter
If the system port is started with the sshd service.
It can be connected via SSH on another machine.

Resources:

http://blog.csdn.net/ccf19881030/article/details/10815919

http://bbs.csdn.net/topics/260020500

The above securecrt can already be connected to Linux, but if I want to upload files and the like is not very troublesome,

There are two ways to do this,

One is the use of Securefx directly drag and drop files to upload, the file is more convenient, but the file is less than the time inconvenient, there is another way

Second, install the Rzsz tool

After the installation is complete, you can upload the file by entering RZ on SECURECRT:

While using SZ, you can download the file

http://blog.csdn.net/lioncode/article/details/7921525

Http://www.linuxidc.com/Linux/2010-06/26484.htm

http://tuhaitao.iteye.com/blog/504919

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.