aboutsummaryrefslogtreecommitdiff
path: root/src/remote/saved.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-09-07 19:33:11 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-09-07 19:33:11 +0300
commit702aa1e45527509bec73dad9b8d443f449c0379b (patch)
tree0f017fea62885a964c1aab16d1869979d8569021 /src/remote/saved.rs
parente7d8220788b4fa7c266a1e4457591b694478771c (diff)
fix: require explicit consent for remote server replacement
Diffstat (limited to 'src/remote/saved.rs')
-rw-r--r--src/remote/saved.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/saved.rs b/src/remote/saved.rs
index 47684758..5b570af4 100644
--- a/src/remote/saved.rs
+++ b/src/remote/saved.rs
@@ -40,7 +40,7 @@ pub(crate) fn connect_saved_ssh(
pub(crate) fn saved_ssh_bootstrap_command(target: &str, session: &str) -> String {
format!(
- "herdr --remote {} --session {} --handoff",
+ "herdr --remote {} --session {}",
super::shell_quote(target),
super::shell_quote(session)
)
@@ -112,7 +112,7 @@ mod tests {
fn bootstrap_command_preserves_the_explicit_remote_session() {
assert_eq!(
saved_ssh_bootstrap_command("build host", "agent work"),
- "herdr --remote 'build host' --session 'agent work' --handoff"
+ "herdr --remote 'build host' --session 'agent work'"
);
}