Can't ssh to parrot

parrot

(Mohan barman) #1

Hey !
I was able to ssh parrot os on my main machine
Even i tried to send ping request from another device on same network to parrot os but no reply comes , it replies when i send an tcp packet to my parrot . Can anybody explain what’s happening .


(Matt) #2

You will need to start sshd on the machine you want to ssh into.
service sshd start
You can check its running using service sshd status or sudo netstat -tnlp.
Then ssh into it using ssh user@IP, enter the user password and vualá.


(Mohan barman) #3

i know bro how to ssh . i have 2 os in my laptop one is parrot and another one is manjaro and i can easily ssh manjaro but not parrot os . Even i can’t ping parrot of . Is parrot os come with firewall ? :thinking::face_with_raised_eyebrow:


(Amzker Pro Hacker) #4

Use netcat ( my love)

Litsen
nc -lvp 4444 -e /bin/bash

Connector

nc 127.0.0.1 4444

I also uploaded video on netcat in WAN

You also able execute python shell
Then
import pty
pty.spawn("/bin/bash")


(Mohan barman) #5

Ahh ! Thak you for suggesting about netcat . But i want to know what is the problem with parrot


(Matt) #6

I can ping and ssh into all my parrot machines.

You can check your Iptable’s rules but i dont believe parrot would block them.


(Lorenzo "Palinuro" Faletra) #7

it is not [quote=“Amzker, post:4, topic:5125”]
Use netcat ( my love)

Litsen
nc -lvp 4444 -e /bin/bash

Connector

nc 127.0.0.1 4444
[/quote]

it is pretty dangerous because netcat does not encrypt the connection


(Lorenzo "Palinuro" Faletra) #8

on parrot home:

sudo apt install openssh-server
sudo systemctl enable ssh
sudo service ssh start

on parrot security:

sudo systemctl enable ssh
sudo service ssh start

(Nico Paul) #9