diff options
-rw-r--r-- | Documentation/pbuilder-doc.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml index dd9d5bf..318e498 100644 --- a/Documentation/pbuilder-doc.xml +++ b/Documentation/pbuilder-doc.xml @@ -607,10 +607,13 @@ PBUILDER_UML_IMAGE="/home/dancer/uml-image" <screen> #!/bin/bash -apt-get install ssh +apt-get install -y ssh xbase-clients xterm echo "enter root password" passwd -sshd +cp /etc/ssh/sshd_config{,-} +cat /etc/ssh/sshd_config- | sed 's/X11Forwarding.*/X11Forwarding yes/' > /etc/ssh/sshd_config + +/etc/init.d/ssh restart ifconfig echo "Hit enter to finish" read |