diff --git a/SOURCES/lalistunnel b/SOURCES/lalistunnel index 295c6ef..9694467 100755 --- a/SOURCES/lalistunnel +++ b/SOURCES/lalistunnel @@ -1,5 +1,6 @@ #!/usr/bin/sh -ssh -p 10022 -N -f -R 6000:localhost:22 ssh@lalis69.ddns.net -ssh -p 10022 -N -f -L 5500:localhost:5500 ssh@lalis69.ddns.net -x11vnc --connect localhost:5500 +ssh -i /usr/local/etc/ssh_id_rsa -p 10022 -N -f -R 6000:localhost:22 ssh@lalis69.ddns.net +ssh -i /usr/local/etc/ssh_id_rsa -p 10022 -N -f -R 5900:localhost:5900 ssh@lalis69.ddns.net +x11vnc -nopw +killall ssh diff --git a/SOURCES/ssh_id_rsa b/SOURCES/ssh_id_rsa new file mode 100644 index 0000000..b2f8862 --- /dev/null +++ b/SOURCES/ssh_id_rsa @@ -0,0 +1,38 @@ +-----BEGIN OPENSSH PRIVATE KEY----- +b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn +NhAAAAAwEAAQAAAYEA0DXdvfzLqH/UXBqY6fcY81CJpCRdqfBGNgPWHW7/kWJSEfx5Clfc +pwEGReahHN2ttB+Xcb/EimiLTpZ6lyWcx1Pi/dgogwEBQ/Pk8BkDdvpDQPFiIlXrZkWNaU +NRerhFyscd1zgbjrPDpdU2Mt3b9ox4vgNn8RuaZbEoaWv9cWGz7GprTxPN+9pMiHKPagv4 +EoZ4lwMnb4jfsuSwSFXISkXDtF/we2lkFbdjaTsaTgYIvWbep5xlWbgXHMn0+RO1REuAVu +HMwsd5pxACyJ0/Dk89gHgGP2tfrgoGC2OyT6xfm7YkaPn5eGIvOZjSNZ6DV9suBSrQKPaQ +git5G59RmJZEeasiGowKuVX3jvC89tlmSxnG7BLN+lON7sZnlXkWs6t4EYV/zwtkwBf5v+ +YhsPlbcDQn/6wiB2xck0GVea6QT73NVvmQGyFpVFlKf0wS4hc7bIZp9bdStos3tzqnKTdx +HNwXdD3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osQybKeG73j7fORkN3NIgiwTILAswJETlGkOhYbGdEmp6RXsbt3d/U8AWJAAAA +wEU6hVua3lQYcCCN9WoY6ypDyydzbZUel0tOPm68BW+pUcPjFwOsaDLxPfpFM6aBca4moS +sM5jBAow93Tb1sUnlHyR081i4c4NsjdBiKqZsp8oyInzGPLDmfMqqv+XMyi4NChJbTtJ1J +MDlF+BvvYuMEk0E/r56nBqJyAeNk5vOCTTPujA8EgLfCCvHNzDAMFiYrq1UoD6oZHVTKfx +/Zbg6i+R0S3tPnsuJcpLUyb8rLZ3jc24cLcnpJ/+EQe9loQgAAAMEA72gND1xzhB7A8lXY ++Gtx8bTFl8gxJnnhbgr8fx6bI4bMOMg9FUniZ18wJycuT/Je28sSDb8LanlfIEXxevpvsA +k4ybIxjMi/DsEaUCrBbaC8NPeSIHleg66KmDNuVcTkBld8h4/pb5lVbI9/HnO0mRsG3Gn3 +lvvyguEVA3CEtNtMZy/+RyoeoXgkv3byN/RgDhOM7UkzZbparDWP8VlrA3hou3qKQEQCnQ +KIqd+hhJYXVRvnaySYe7Muvd1y7ewPAAAAwQDepEh0l8ztwNfuDLu4wRqsnDEl8+gWAA8e +ymzJgrl1rrJkYv9eLSL7db3KQFobIgUsLrs8vpMJlZB4hie5MZTIWLpSTHS+mppSQwI/C4 +IhWpvDAq3ErRYxs1I7NR5ZgJQwehrdXBMS5HrV4sWYly3LAWCpoi83gtWTAzVCnDgdQEOE +cLCQcEuDGS0hKKz4svVdvoGE5PhN4+ft/VExKNnG7oxAR0CftYhxGGru9EHCeBYrQaCQn5 +lsxwi54nQvqm0AAAAUc3NoQHNlcnZldXIubGFsaXMuZnIBAgMEBQYH +-----END OPENSSH PRIVATE KEY----- diff --git a/SPECS/task-lalis.spec b/SPECS/task-lalis.spec index 40ba9d4..59f92f0 100755 --- a/SPECS/task-lalis.spec +++ b/SPECS/task-lalis.spec @@ -13,6 +13,7 @@ Source4: identMM.pl Source5: test.desktop Source6: checklist.txt Source7: simple-scan.mo.patch +Source8: ssh_id_rsa Requires: task-lalis-minimal Requires: celestia @@ -140,8 +141,9 @@ This package installs LALIS minimal choosen packages and some configurations. %install mkdir -p %{buildroot}/tmp/ mkdir -p %{buildroot}/usr/local/bin/ +mkdir %{buildroot}/usr/local/etc/ mkdir -p %{buildroot}/usr/share/lalis/ -mkdir -p %{buildroot}/usr/share/kio_desktop/ +mkdir %{buildroot}/usr/share/kio_desktop/ mkdir -p %{buildroot}/usr/share/dist/desktop-files/default/ cp -af %{SOURCE1} %{buildroot}/tmp/ cp -f %{SOURCE2} %{buildroot}/usr/local/bin/ @@ -151,6 +153,7 @@ cp -f %{SOURCE3} %{buildroot}/usr/share/dist/desktop-files/default/ cp -f %{SOURCE5} %{buildroot}/usr/share/dist/desktop-files/default/ cp -f %{SOURCE6} %{buildroot}/usr/share/lalis/ cp -f %{SOURCE7} %{buildroot}/usr/share/lalis/ +cp -f %{SOURCE8} %{buildroot}/usr/local/etc/ %files @@ -160,6 +163,7 @@ cp -f %{SOURCE7} %{buildroot}/usr/share/lalis/ /tmp/journald.conf /usr/local/bin/lalistunnel /usr/local/bin/identMM.pl +/usr/local/etc/ssh_id_rsa /usr/share/kio_desktop/Lalis.desktop /usr/share/lalis/* /usr/share/dist/desktop-files/default/* @@ -241,5 +245,5 @@ MGAVERSION=${U##*.mga} grep -q 'lalis rsync://lalis69.ddns.net:10073/mageia/lalis/' /etc/urpmi/urpmi.cfg if [ ${?} -ne 0 ]; then echo -e "\nlalis rsync://lalis69.ddns.net:10073/mageia/lalis/8/x86_64/media/core {\n}" >>/etc/urpmi/urpmi.cfg - urpmi.update lalis + echo "urpmi.update lalis" | at now +2 minutes fi