SSH remote connection not on Ubuntu

Source: Internet
Author: User

Problem Description:

1.ubuntu installed Openssh-server, launched the SSH daemon, using port 22

2. You can ssh 127.0.0.1 connection in this machine

3. Remote via SSH (e.g. with putty or CRT) is not connected

Workaround:

This happens, in all likelihood, because of the firewall, but Ubuntu Firewall is not called iptables, but firewall, and is the use of UFW (is not ubuntu firewall?) command to manage

Viewing usage with UFW--help

Then use UFW disable to disable boot start

  

[Email protected]:~# UFW status
Status: Active

To action from
- -- --
Samba Allow Anywhere
CUPS Allow Anywhere
Samba (V6) Allow Anywhere (V6)
CUPS (V6) Allow Anywhere (V6)

[Email protected]:~# UFW Disable
Firewall is automatically disabled at system startup
[Email protected]:~# UFW status
Status: Inactive

SSH remote connection not on Ubuntu

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.