Por que não posso permitir acesso à porta 22 no Ubuntu 12.10?

3

Não consigo descobrir por que a porta 22 nunca me deixa entrar no meu laptop. Aqui está o que estou tentando:

ryan@gigantic-laptop:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
22                         ALLOW       Anywhere (v6)

22                         ALLOW OUT   Anywhere
22                         ALLOW OUT   Anywhere (v6)

ryan@gigantic-laptop:~$ ssh localhost
ssh: connect to host localhost port 22: Connection refused

Ou se eu tentar desativar:

ryan@gigantic-laptop:~$ sudo ufw disable
Firewall stopped and disabled on system startup
ryan@gigantic-laptop:~$ sudo ufw status
Status: inactive
ryan@gigantic-laptop:~$ ssh localhost
ssh: connect to host localhost port 22: Connection refused
ryan@gigantic-laptop:~$ ssh 127.0.0.1
ssh: connect to host 127.0.0.1 port 22: Connection refused
ryan@gigantic-laptop:~$ sudo nmap 127.0.0.1

Starting Nmap 6.00 ( http://nmap.org ) at 2013-02-23 18:14 PST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000016s latency).
Not shown: 999 closed ports
PORT    STATE SERVICE
631/tcp open  ipp

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds

O que estou fazendo de errado?

    
por dranxo 24.02.2013 / 03:15

1 resposta

1

Eu preciso instalar o sudo apt-get install openssh-server .

    
por dranxo 24.02.2013 / 03:21

Tags