дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
Git no longer asks for the HTTPS user name and password on every fetch, pull and push. The password prompt offers "Remember for this host"; the credential is saved in the app's secret store (next to the saved SSH passwords, never in git's global configuration) only after the git command that used it succeeds, and a stored credential the server rejects is forgotten so the next command asks again. Settings › Version Control › Git lists saved credentials and forgets them. Each git child gets its own id, passed to the askpass helper, so concurrent commands never save or forget each other's credentials. ide-vcs reports command completion through an observer installed at start-up instead of depending on ide-ssh. Credentials are keyed by scheme, host and port, and only git's authentication errors (Authentication failed, HTTP 401/403 responses, invalid username or password) forget a stored credential. Fixes #272 Co-authored-by: a-rookie-of-C-language <[email protected]>
23 рядки
691 B
Rust
23 рядки
691 B
Rust
//! SSH for every remote feature: configurations and `~/.ssh/config` hosts,
|
|
//! host-key trust, authentication (password, key, agent), remote commands and
|
|
//! processes, SFTP, local port forwarding, and askpass for `ssh` / `git`.
|
|
|
|
pub mod askpass;
|
|
pub mod git_creds;
|
|
pub mod manager;
|
|
pub mod secrets;
|
|
pub mod session;
|
|
pub mod sftp;
|
|
pub mod shell;
|
|
pub mod target;
|
|
#[cfg(feature = "testing")]
|
|
pub mod testing;
|
|
pub mod tunnel;
|
|
|
|
pub use manager::SshManager;
|
|
pub use russh::Sig;
|
|
pub use session::{ConnectError, ExecOutput, Output, RemoteProcess, Session, UnknownHostKey};
|
|
pub use sftp::{RemoteEntry, RemoteFs};
|
|
pub use target::{SshFiles, SshTarget, expand, openssh_args};
|
|
pub use tunnel::Tunnel;
|