aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh/ssh.go
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2023-09-20lib/ssh: replace LoadPrivateKeyInteractive with the one from lib/cryptoShulhan
2023-07-26lib/ssh: add function LoadPrivateKeyInteractiveShulhan
The LoadPrivateKeyInteractive load private key from file. If key is encrypted, it will prompt the passphrase in terminal with maximum maxAttempt times. If the passphrase still invalid after maxAttempt it will return an error.
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2021-07-05lib/ssh: move the config parser to subpackage "config"Shulhan
There are two reasons for moving to sub-package. First, the code for parsing the ssh_config(5) take almost 99% of the lines in the ssh package. Second, in case we want to submit the code to upstream, golang.org/x/crypto, we need the package to be independent, less external dependencies as possible.
2020-06-10all: update email addressShulhan
2020-04-25ssh: use algorithm names that supported by crypto/ssh packageShulhan
2020-04-24ssh: implement SSH client configuration parser -- ssh_config(5)Shulhan
The SSH Config will read and parse the configuration as defined in manual ssh_config(5).