aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh/client.go
AgeCommit message (Expand)Author
2026-03-27lib/ssh: set client config HostKeyAlgorithms from known_hosts filesShulhan
2025-02-04all: remove the nolint tagsShulhan
2024-12-28lib/ssh: implement Run with contextShulhan
2024-03-09lib: move package "ssh/config" to "lib/sshconfig"Shulhan
2024-03-05all: comply with linter recommendations #3Shulhan
2024-03-05all: comply with linter recommendations #2Shulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2023-12-22lib/ssh: add parameter context to Execute methodShulhan
2023-12-17lib/ssh: implement method Output on ClientShulhan
2023-11-18lib/crypto: add support for reading passphrase using SSH_ASKPASSShulhan
2023-09-27lib/ssh: fix missing error check from previous changes 8d0720f6Shulhan
2023-09-26go.mod: remove replace directive for golang.org/x/cryptoShulhan
2023-09-24lib/ssh: store and use the connected identity file for ScpPut and ScpGetShulhan
2023-09-24lib/ssh: add method Close to ClientShulhan
2023-09-24lib/ssh: rename internal field cfg to sectionShulhan
2023-09-20lib/ssh: replace LoadPrivateKeyInteractive with the one from lib/cryptoShulhan
2023-09-11lib/ssh: remove unused field configHostKeyCallback in ClientShulhan
2023-08-29lib/ssh: use UserKnownHostFile from configuration in NewClientInteractiveShulhan
2023-07-26lib/ssh: refactoring NewClientFromConfig, renamed to NewClientInteractiveShulhan
2023-07-26ssh/config: refactoring, simplify the Section fieldsShulhan
2023-02-25all: access embedded field or methods using the type nameShulhan
2022-10-20lib/ssh: add private key to agent once client connected successfullyShulhan
2022-10-20ssh/config: change the method GenerateSigners to SignersShulhan
2022-10-19lib/ssh: try both ssh agent and IdentityFileYoufu Zhang
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2021-11-06lib/ssh: use agent defined by config or from environment variableShulhan
2021-08-15lib/ssh: add method to set session output and errorShulhan
2021-07-05lib/ssh: rename method Get to ScpGet and Put to ScpPutShulhan
2021-07-05lib/ssh: embed the ssh.Client into Client instead of as fieldShulhan
2021-07-05lib/ssh: rename the NewClient function to NewClientFromConfigShulhan
2021-07-05lib/ssh: move the config parser to subpackage "config"Shulhan
2021-04-11ssh: check for empty private key file on Get and PutShulhan
2021-04-06ssh: use the SSH agent to authenticate on NewClientShulhan
2021-04-05ssh: ask for passphrase if private key is encrypted on generateSignersShulhan
2020-06-06all: use default linter optionsShulhan
2020-04-26ssh: replace the ClientConfig with ConfigSectionShulhan
2020-02-13dns,ssh: suppress linter false-positive warnings reported by "gosec"Shulhan
2019-06-14all: fix nolint formatShulhan
2019-06-13ssh/client: add recursive option for Get and Put commandsShulhan
2019-06-03ssh: add field Environments in client's configShulhan
2019-05-25ssh: package ssh provide a wrapper to golang.org/x/crypto/sshShulhan