From ae3d86aa41a8acf68d2bc7592eeba3f1cff44e4d Mon Sep 17 00:00:00 2001 From: Leite Machado <jorge.leite-machado@etu.hesge.ch> Date: Fri, 1 Sep 2023 13:58:03 +0200 Subject: [PATCH] correction run.md --- run.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/run.md b/run.md index c77efee..c6bae42 100644 --- a/run.md +++ b/run.md @@ -11,14 +11,12 @@ pip3 install paramiko pip3 install pydantic pip3 install uvicorn -5. Make sure to edit file auth.py with the public key filename in the global public_key_file value and the private filename in the private_key_file +5. Make sure to edit file config.json with the correct informations 6. Launch host.py with the following command : uvicorn auth:app --host 0.0.0.0 --port 8000 7. Make sure that the client host (A) does not have access to the private key. Only the public key should be present in the ssh-keys folder. -8. On the client host, edit the paramiko/auth_handler file with the API route of the authentication host, in the variable url -9. Edit the client.py file with the public key path in the public_key_file variable. 10. Launch the client with the following command : python3 client.py @@ -28,7 +26,6 @@ python3 client.py 13. On the client host, connexion is established # Protype 2 : Custom OpenSSH agent -# Protype 1 : Python paramiko custom client 1. Generate simple rsa key into folder ssh-key 2. Make sure to have a host (A) and a server (B) that can connect trough SSH with this key -- GitLab