Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.39 KB

File metadata and controls

49 lines (39 loc) · 1.39 KB

SSH-Secure-Shell-Server

SSH-Secure-Shell-Server

Structure of project

Project_Folder
    |_ client
          |_Client.java
          |_KEY.txt
          |_RSA.java
          |_SymmetricCrypto.java
    |_ server
          |_Server.java
          |_KNOWN_HOSTS.txt
          |_RSA.java
          |_SymmetricCrypto.java

Steps to run project

Step 1: 
First go to server folder.
Open terminal in that folder.
Compile Server.java file by running following command
 	  javac Server.java	
Run Server.java file with the following format.
 	  java Server


Step 2: 
Now go to client folder.
Open terminal in that folder.
Compile Client.java file by running following command
 	  javac Client.java	
Run Client.java file with the following format.
          java Client username@ipaddress 
    Example:
 	  java Client samir@127.0.0.1	


If connection establish successfully and user is verified then you are logged in to the server.
Now you can access the server from your terminal.

Flowchart

Flowchart of project