diff --git a/instance-scripts/scripts/ttyd.sh b/instance-scripts/scripts/ttyd.sh
index cbe16073bc7e42b17d2fdb5c835fde1780f2a6e7..45b88f534194e5105f07df4612696f4ce4963fba 100644
--- a/instance-scripts/scripts/ttyd.sh
+++ b/instance-scripts/scripts/ttyd.sh
@@ -8,6 +8,6 @@ mkdir -p /root/ttyd
 curl https://github.com/tsl0922/ttyd/releases/download/1.7.2/ttyd.x86_64 -o root/ttyd/ttyd.x86_64
 chmod +x /root/ttyd/ttyd.x86_64
 curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/ttyd.service -o etc/systemd/system/ttyd.service
-sed -i "s|%user_password%|$(scw-userdata atrium_count_index)|g" /etc/systemd/system/ttyd.service
+sed -i "s|%user_password%|$(scw-userdata user_password)|g" /etc/systemd/system/ttyd.service
 
 systemctl enable ttyd.service && systemctl start ttyd.service
\ No newline at end of file