[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions about using libssh as SFTP client
[Thread Prev] | [Thread Next]
- Subject: Questions about using libssh as SFTP client
- From: Alan Ong <sarcasigan@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 24 Aug 2010 16:46:54 +0800
- To: libssh@xxxxxxxxxx
Hello, I have another newbie questions. I am creating a sftp client and I want to use aes128-ctr cipher. Does it mean I have to code it like this: int nResult; ssh_session session; session = ssh_new(); nResult = ssh_options_set(session, SSH_OPTIONS_HOST, "localhost"); nResult = ssh_options_set(session, SSH_OPTIONS_PORT, 22); nResult = ssh_options_set(session, SSH_OPTIONS_CIPHERS_S_C, "aes128-ctr"); nResult = ssh_options_set(session, SSH_OPTIONS_CIPHERS_C_S, "aes128-ctr");' Is the above code correct? Another question is, how do i set in the code to use hmac-sha1? Thank you for your time.
Re: Questions about using libssh as SFTP client | Aris Adamantiadis <aris@xxxxxxxxxxxx> |