@@ -17,7 +17,7 @@ use std::sync::mpsc::Sender;
1717use uuid::Uuid;
1818
1919use crate::{
20− session_manager::INSTANCE_DIR_NAME,
20+ session_manager::{GLOBAL_DIR_NAME, INSTANCE_DIR_NAME},
2121 tui::{self, AppState},
2222 vm::{self, DirectoryShare, LoginAction, VmInput},
2323};
@@ -25,7 +25,6 @@ use crate::{
2525const INSTANCE_TOML: &str = "instance.toml";
2626const SSH_KEY_NAME: &str = "ssh_key";
2727const SERIAL_LOG_NAME: &str = "serial.log";
28−const SSH_GUEST_DIR: &str = "/root/.vibebox";
2928const DEFAULT_SSH_USER: &str = "vibecoder";
3029const SSH_CONNECT_RETRIES: usize = 30;
3130const SSH_CONNECT_DELAY_MS: u64 = 500;
@@ -66,14 +65,16 @@ pub fn run_with_ssh(
6665 }
6766 let config = Arc::new(Mutex::new(config));
6867
68+ let ssh_guest_dir = format!("/root/{}", GLOBAL_DIR_NAME);
69+
6970 let extra_shares = vec![DirectoryShare::new(
7071 instance_dir.clone(),
71− SSH_GUEST_DIR.into(),
72+ ssh_guest_dir.clone().into(),
7273 true,
7374 )?];
7475
7576 let extra_login_actions =
76− build_ssh_login_actions(&config, &project_name, SSH_GUEST_DIR, SSH_KEY_NAME);
77+ build_ssh_login_actions(&config, &project_name, ssh_guest_dir.as_str(), SSH_KEY_NAME);
7778
7879 vm::run_with_args_and_extras(
7980 args,