Llama.ui / start.sh
Yahir's picture
Update start.sh
7ce6f1d
raw
history blame
234 Bytes
#!/bin/bash
ssh-keygen -A
sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
mkdir /root/.ssh
/usr/sbin/sshd -D &
wetty -p 7860 --allow-remote-hosts