code wiki / (root) / nx_ssh_deploy.nx

nx_ssh_deploy.nx

buildroot/runtime/nx_ssh_deploy.nx

1996 B35 linesdepth 10pulls 22 transitivereach 0 importersview sourcekind tooltopic ssh
docsdependenciesstructsconstsfunctions

about

nx_ssh_deploy.nx -- use the sovereign SSH client to authenticate to the NAS (password, from /tmp/nxpw) and run a READ-ONLY recon command, so we learn the daemon layout + how it's launched BEFORE any deploy. No destructive action here -- recon first (verified facts, not assumptions). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_ssh_lib.nx nx_ssh_deploy.nx

imports: nx_syscalls.nxnx_ssh_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ssh_puts sys_write ssh_open_session sys_socket sys_mmap ↻ ssh_sockaddr nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll ssh_kex sys_write ↻ sys_mmap ↻ ssh_read_line sys_read ↻ ssh_read_packet sys_mmap ↻ ssh_read_full sys_read ↻ ssh_u32be ssh_put_bytes ssh_put_byte ssh_put_bytes ↻ ssh_put_str ssh_put_u32 ssh_put_bytes ↻ ssh_put_u32 ↻ ssh_send_packet sys_mmap ↻ ssh_put_u32 ↻ ssh_put_bytes ↻

structs

none

consts

none

functions

11func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } return n }
called by 1: main
13func main() -> i64