amirhasance / chat_ssh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi 👋, Welcome to ChatSSH Project

About the Project

this it the final practical homework of principles of security

the aim of the project is to have a chatroom in which users can login into the server via ssh connection

due to ssh encrypted tunnel connection the whole messages are encrypted

the instruction how to run chatSSH
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

Running ChatServer

you have to pass host and port to run Server

python3 chatServer.py 127.0.0.1 9000

Running Client

you have to pass host and port to run client side

python3 chatClient.py 127.0.0.1 9000

here , there are some screenshots of running a demo

running server

client_1 'amir' ssh to server

two clients are chatting

chat server is rendering the room

About


Languages

Language:Python 100.0%