Displaying 1 result from an estimated 1 matches for "cmsg_exec_cmd".
2001 Aug 27
1
scp1 issue
Hi.
I hope this is not entirely inappropriate, I have tried
comp.security.ssh but have not received any response, anyhow
I am wondering how scp1 really works, as far as I can tell it should be
quite straight forward, just send
version string
CMSG_SESSION_KEY
CMSG_USER
CMSG_AUTH_PASSWORD
CMSG_EXEC_CMD
And wait for SMSG_STDOUT_DATA until SMSG_EXITSTATUS.
I have read the scp.c code and and it more or less just starts
ssh with the command "scp -f file-to-get", however when I do that in a
little client i made it just hangs after sshd does its
server_init_dispatch()
debug1: session_new: i...