qssh 0.0.2-alpha

Experimental quantum-safe SSH using post-quantum crypto. Research project - NOT for production. See LIMITATIONS.md
Documentation
// Test QSSH without encryption to isolate handshake issues

use qssh::{PqAlgorithm, QsshConfig};
use qssh::client::QsshClient;
use tokio;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    env_logger::init();
    
    let config = QsshConfig {
        server: "localhost:4242".to_string(),
        username: "paraxiom".to_string(),
        port_forwards: vec![],
        use_qkd: false,
        pq_algorithm: PqAlgorithm::Falcon512,
        key_rotation_interval: 3600,
    };
    
    println!("Connecting to {} as {}", config.server, config.username);
    println!("Using algorithm: {}", config.pq_algorithm);
    
    match QsshClient::new(config).connect().await {
        Ok(()) => println!("Connection successful!"),
        Err(e) => eprintln!("Connection failed: {}", e),
    }
    
    Ok(())
}