Ubuntu installation configuration SSH remote access and file transfer

1.Ubuntu ssh installed reference https://blog.csdn.net/future_ai/article/details/81701744 , but he had a mistake was made in the allocation of PermitRootLogin prohibit-password into PermitRootLogin yes, there is no documentation that is another configuration file, this option should be modified / etc / ssh / sshd_config

 

According to the above configuration after which you can directly log in directly to the root account using putty

In turn enter the address (do not know the address entered directly in ubuntu in ifconfig), click open, if your ssh running, the following interface will pop up, enter your user name, password and press Enter

 

 

2. Using SSH Secure Shell file transfer

The first time you use SSH Secure Shell now need to modify some configuration files on ubuntu, reference https://www.cnblogs.com/l-xxx-10000/p/5417834.html

Above to register your account, it is best root

 

Click on the icon above block diagram, you can enter the file transfer interface, how to use it, and then copy the file to our computer U disk, direct drag. . .

Because the SSH Secure Shell can not display Chinese, so I usually use putty to log linux, transfer files when using SSH Secure Shell

 

Guess you like

Origin www.cnblogs.com/isyefeng/p/12575555.html