lmssh 0.1.0

An SSH honeypot server with AI-generated shell responses for security research and monitoring
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "lmssh"
version = "0.1.0"
authors = ["PJ568"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An SSH honeypot server with AI-generated shell responses for security research and monitoring"
homepage = "https://github.com/PJ-568/lmssh"
readme = "README.md"
keywords = [
    "ssh",
    "honeypot",
    "security",
    "shell",
    "openai",
]
categories = [
    "network-programming",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/PJ-568/lmssh"

[lib]
name = "lmssh"
path = "src/lib.rs"

[[bin]]
name = "lmssh"
path = "src/main.rs"

[[test]]
name = "ai_request_build"
path = "tests/ai_request_build.rs"

[[test]]
name = "ai_stream_collect"
path = "tests/ai_stream_collect.rs"

[[test]]
name = "auth_logic"
path = "tests/auth_logic.rs"

[[test]]
name = "config_full"
path = "tests/config_full.rs"

[[test]]
name = "config_load"
path = "tests/config_load.rs"

[[test]]
name = "line_editor"
path = "tests/line_editor.rs"

[[test]]
name = "output_guard"
path = "tests/output_guard.rs"

[[test]]
name = "output_guard_integration"
path = "tests/output_guard_integration.rs"

[[test]]
name = "queue_semantics"
path = "tests/queue_semantics.rs"

[[test]]
name = "router_ai_request"
path = "tests/router_ai_request.rs"

[[test]]
name = "router_blacklist"
path = "tests/router_blacklist.rs"

[[test]]
name = "router_builtins_basic"
path = "tests/router_builtins_basic.rs"

[[test]]
name = "router_cd"
path = "tests/router_cd.rs"

[[test]]
name = "router_clear"
path = "tests/router_clear.rs"

[[test]]
name = "router_history"
path = "tests/router_history.rs"

[[test]]
name = "server_smoke"
path = "tests/server_smoke.rs"

[[test]]
name = "session_action"
path = "tests/session_action.rs"

[[test]]
name = "session_log_events"
path = "tests/session_log_events.rs"

[[test]]
name = "sse_parse"
path = "tests/sse_parse.rs"

[[test]]
name = "ssh_handler_smoke"
path = "tests/ssh_handler_smoke.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.rand_core]
version = "0.6"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
]

[dependencies.russh]
version = "0.45"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.ssh-key]
version = "0.6"
features = ["ed25519"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tempfile]
version = "3"