From b644bf006c6cd99ec5611af28e8bae5226fb6a85 Mon Sep 17 00:00:00 2001
From: jkpete <1031139173@qq.com>
Date: Mon, 3 Feb 2025 22:13:33 +0800
Subject: [PATCH] add Ssh client to egmessage protocol tools
---
EGFramework.csproj | 1 +
Example/UsingTest/Script/EGSaveTest.cs | 47 ++++-
addons/EGFramework/Module/EGMessage.cs | 3 +-
.../EGFramework/Module/ProtocolTools/EGSsh.cs | 179 ++++++++++++++++++
4 files changed, 227 insertions(+), 3 deletions(-)
create mode 100644 addons/EGFramework/Module/ProtocolTools/EGSsh.cs
diff --git a/EGFramework.csproj b/EGFramework.csproj
index 07afd46..b16baa5 100644
--- a/EGFramework.csproj
+++ b/EGFramework.csproj
@@ -18,5 +18,6 @@
+
\ No newline at end of file
diff --git a/Example/UsingTest/Script/EGSaveTest.cs b/Example/UsingTest/Script/EGSaveTest.cs
index a9d1274..fc3bc35 100644
--- a/Example/UsingTest/Script/EGSaveTest.cs
+++ b/Example/UsingTest/Script/EGSaveTest.cs
@@ -3,6 +3,7 @@ using System.Linq;
using System.Threading.Tasks;
using Godot;
using LiteDB;
+using Renci.SshNet;
namespace EGFramework.Examples.Test{
public partial class EGSaveTest : Node,IEGFramework
@@ -11,10 +12,23 @@ namespace EGFramework.Examples.Test{
public override void _Ready()
{
this.Label = this.GetNode