aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2003-02-14 07:11:03 +0000
committerdancer <dancer>2003-02-14 07:11:03 +0000
commitc560eabe7471db0f911cc215c4d7adbb955902f9 (patch)
treef46b7674d76bb6b2117b51fcc1815323790d79a1
parent08efc22d5fb0dd15c3bfe118990480e581edf3c4 (diff)
downloadpbuilder-c560eabe7471db0f911cc215c4d7adbb955902f9.tar
pbuilder-c560eabe7471db0f911cc215c4d7adbb955902f9.tar.gz
document ssh
-rw-r--r--Documentation/pbuilder-doc.xml7
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/' &gt; /etc/ssh/sshd_config
+
+/etc/init.d/ssh restart
ifconfig
echo "Hit enter to finish"
read