[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:x2gobroker
wiki-admin at x2go.org
wiki-admin at x2go.org
Fri Feb 10 17:53:44 CET 2017
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/02/10 16:53
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:x2gobroker?rev=1486745588
New Revision: http://wiki.x2go.org/doku.php/doc:howto:x2gobroker
Edit Summary:
User : stefanbaur
@@ -1478,10 +1478,12 @@
chmod 700 /target/root/.ssh ;\
touch /target/root/.ssh/authorized_keys ; \
chmod 600 /target/root/.ssh/authorized_keys ;\
sed -i '/^PermitRootLogin/c PermitRootLogin without-password' /target/etc/ssh/sshd_config ;\
- echo -n 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0d0QRUMzhozXPzFe79t+/xcdmNPe2rf5LirW5IzOuFrJlY8WaZCOWLJXrpn724TNRLf+v+88lOsXlrQLBom4FjOpgCpDvxZzQIG7tcURZbUO1nAdKsDdZ6Nt0e91h1UuDpya6E74VMuB9krG1FjJRABMfMDhKweMUUkkq4yQ34jqUZhJv97' >>/target/root/.ssh/authorized_keys ;\
- echo
-n '+sRzkh5DJ/pZlpCaa3pXT3MI5RCR7elC59hzueqlOjvrIAjYo4KRz3j3OUPNa3NnT0tM1QNdy/3dF6yJhobmd5GspMRDV0TSBGBG+Jg1Tbg/gpEHf/0NyUCoS2o1Tonfgbf/dHwIZuWX17seAQsDw/yR+7YkU2CKHOQ== Wartungszugang Stefan Baur' >>/target/root/.ssh/authorized_keys ;\
+ echo "COMMENT: Insert your own SSH public key here" ;\
+ echo "COMMENT: User echo -n as shown so multiline echo doesn't add Newlines when appending" ;\
+ echo -n 'ssh-rsa AAAAB3blahblahblah' >>/target/root/.ssh/authorized_keys ;\
+ echo -n 'blahblahblahOQ== SSH Key Comment here' >>/target/root/.ssh/authorized_keys ;\
echo "COMMENT: Fixing shortcomings of netcfg here..." ;\
sed -i "s/$(cat /etc/hostname)/x2goserver2/" /target/etc/hosts ;\
echo "x2goserver2" >/target/etc/hostname ;\
echo "COMMENT: Fix ends here." ;\
@@ -1715,10 +1717,12 @@
chmod 700 /target/root/.ssh ;\
touch /target/root/.ssh/authorized_keys ; \
chmod 600 /target/root/.ssh/authorized_keys ;\
sed -i '/^PermitRootLogin/c PermitRootLogin without-password'
/target/etc/ssh/sshd_config ;\
- echo -n 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0d0QRUMzhozXPzFe79t+/xcdmNPe2rf5LirW5IzOuFrJlY8WaZCOWLJXrpn724TNRLf+v+88lOsXlrQLBom4FjOpgCpDvxZzQIG7tcURZbUO1nAdKsDdZ6Nt0e91h1UuDpya6E74VMuB9krG1FjJRABMfMDhKweMUUkkq4yQ34jqUZhJv97' >>/target/root/.ssh/authorized_keys ;\
- echo -n '+sRzkh5DJ/pZlpCaa3pXT3MI5RCR7elC59hzueqlOjvrIAjYo4KRz3j3OUPNa3NnT0tM1QNdy/3dF6yJhobmd5GspMRDV0TSBGBG+Jg1Tbg/gpEHf/0NyUCoS2o1Tonfgbf/dHwIZuWX17seAQsDw/yR+7YkU2CKHOQ== Wartungszugang Stefan Baur' >>/target/root/.ssh/authorized_keys ;\
+ echo "COMMENT: Insert your own SSH public key here" ;\
+ echo "COMMENT: User echo -n as shown so multiline echo doesn't add Newlines when appending" ;\
+ echo -n 'ssh-rsa AAAAB3blahblahblah' >>/target/root/.ssh/authorized_keys ;\
+ echo -n 'blahblahblahOQ== SSH Key Comment here' >>/target/root/.ssh/authorized_keys ;\
echo "COMMENT: Fixing shortcomings of netcfg here..." ;\
sed -i "s/$(cat /etc/hostname)/x2goclient1/" /target/etc/hosts ;\
echo "x2goclient1" >/target/etc/hostname ;\
echo "COMMENT: Fix ends here." ;\
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
More information about the x2go-commits
mailing list