summaryrefslogtreecommitdiff
path: root/src/ssh.c
AgeCommit message (Collapse)Author
2024-04-29add available ciphers and hmacs on help print (#20)Ryo Nakamura
2024-04-14add -J proxyjump option (#15)Ryo Nakamura
2024-04-13fix too few arguments for priv_set_errvRyo Nakamura
2024-04-12add -o SSH_OPTION optionRyo Nakamura
2024-04-11drop -H disable host key checking optionRyo Nakamura
It can be done by ssh_config instead.
2024-03-31add ssh keyboard interactive authenticationRyo Nakamura
Supporting keyboard-interactive authentication enables login with Cisco DUO MFA (#2).
2024-02-07add -4 and -6 options to use either IPv4 or IPv6Ryo Nakamura
2024-02-07cleanup error message handlingRyo Nakamura
The top-level funtion in a thread should print errors using priv_get_err(), while lower-level functions should set error messages using priv_set_err() except that error mesesages should be printed immediately, e.g., under walk_src_path().
2024-02-06add .clang-format from Linux kernel and format sourcesRyo Nakamura
The exception is that ColumnLimit is 90.
2024-02-06refactor error message-related functionsRyo Nakamura
split message print fuctions (mpr_*), strerrno, and mscp_get/set_error into print.c/h and strerrno.c/h. ToDo: revise usages of priv_set_errv and pr_* functions.
2024-02-05passing options via pointers in mscp_ssh_optsRyo Nakamura
We do not need static buf because we have already dropped python biding support.
2024-01-18add SPDX-License-Identifier to source filesRyo Nakamura
2023-11-01add -g option to specify TCP cc algorithmRyo Nakamura
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch and add -g CONGESTION option to mscp.
2023-08-04add -F ssh_config optionRyo Nakamura
2023-03-03add message.h and message.c, mscp_set|get_error()Ryo Nakamura
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message.
2023-03-03add mscp_ssh_opts and change -C optargRyo Nakamura
2023-02-25start to impliment mscp as a libraryRyo Nakamura
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet.
2023-01-05remove unnecessary pr_warnRyo Nakamura
2022-12-05change prompt for ssh key passphraseRyo Nakamura
2022-12-04set TCP_NODELAY by default and introduce -N option to disable itRyo Nakamura
2022-12-03remove unused code and introduce -b buf_sz optionRyo Nakamura
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh.
2022-12-02cache passphrase for private key for later connections.Ryo Nakamura
2022-12-02add auth callback for input passphrase of privkeyRyo Nakamura
2022-12-02add -M hmac optionRyo Nakamura
2022-11-27skip sftp_free() inappropriatelyRyo Nakamura
2022-11-26fix duplicate error message on ssh auth failed.Ryo Nakamura
and fix the final \n with -q
2022-11-08fix incorrect ret handling for read/writeRyo Nakamura
2022-11-05add -H option to disable host key checkRyo Nakamura
tests use this option.
2022-10-30little refactoring for param namesRyo Nakamura
2022-10-29change indent from space to tabRyo Nakamura
2022-10-23configurable sftp_buf_sz.Ryo Nakamura
default value 131072 is derived from qemu/block/ssh.c. we need more investigaion.
2022-10-23cleanup copy codesRyo Nakamura
2022-10-16implement fill_fileRyo Nakamura
2022-10-15initial commitRyo Nakamura