Ubuntu Network Settings with secure password-free connection

Source: Internet
Author: User
Tags nameserver

1. Securefx cannot connect to virtual Ubuntu
Ubuntu has installed Openssh-server,
Auto ENP0S3
Iface enp0s3 inet Static
Address 192.168.1.20
Netmask 255.255.255.0
Gateway 192.168.1.11
Dns-nameserver 233.5.5.5
Change to address 192.168.1.20 #与宿主机器在同一局域网段
Then restart the network
sudo/etc/init.d/networking restart

2. Ping www.baidu.com
Resolve into www.a.shifeng.com is possible, stating that Dus parsing is not a problem
But still host unreachable, the gateway is set up with problems ,
Using the command sudo vi/etc/network/interfaces
Set the gateway to
Auto ENP0S3
Iface enp0s3 inet Static
Address 192.168.1.20
Netmask 255.255.255.0
Gateway 192.168.1.1 #设置成了 (homestay) Host IP
Dns-nameserver 233.5.5.5
Then restart the network
sudo/etc/init.d/networking restart

3, SSH without password login still have problems
For example, uncheck out "password"

4, Securefx appear in Chinese garbled, instead of UTF-8 code, such as

Ubuntu Network Settings with secure password-free connection

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.