/usr/bin/dtc-xen_userconsole is in dtc-xen 0.5.17-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/sh
echo "Welcome to dtc-xen ssh console!"
echo "WARNING:"
echo "You might need to press enter once to display the login prompt."
echo "You can login only ONCE in this console, and you cannot resize it either."
echo "You'd be a lot more comfortable if you install sshd and connect to it"
echo "directly."
echo "It is recommended to use this ssh remote access only in order to debug"
echo "a broken virtual machine (VM/VPS) or after you reinstalled your VPS to"
echo "install the ssh daemon, or also if you are to debug network and/or"
echo "your firewall."
echo "If your ssh daemon is not installed, login as root, then do:"
echo "apt-get install ssh (Debian) or yum install openssh-server (CentOS)"
sleep 1
if [ -n "$1" ]; then
echo "Sorry, no shell commands allowed"
exit 1
fi
sudo /usr/sbin/xm console $USER
|