diff --git a/source/src/commands/list.cpp b/source/src/commands/list.cpp
index cf9ab28..4a994ca 100644
--- a/source/src/commands/list.cpp
+++ b/source/src/commands/list.cpp
@@ -130,7 +130,7 @@ void show_server_details(const std::string& server_name) {
         info << std::string(40, '-') << std::endl;
         
         // Try to connect to the server
-        std::string cmd = "ssh -o ConnectTimeout=5 " + ssh_user + "@" + ssh_address + " -p " + ssh_port + " 'echo connected' 2>/dev/null";
+        std::string cmd = "ssh -o ConnectTimeout=5 " + ssh_user + "@" + ssh_address + " -p " + ssh_port + " 'true' 2>/dev/null";
         int result = system(cmd.c_str());
         if (result == 0) {
             info << "Status: Online" << std::endl;