PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|LinuxGazette|issue100.txt =

page 3 of 30



   again, and we hope you enjoy the article he has in this month's issue. Warm
   thanks to everyone who thought kindly of him while he was recovering.
     _________________________________________________________________

      This page edited and maintained by the Editors of Linux Gazette
HTML script maintained by [30]Heather Stern of Starshine Technical Services,
                       [31]http://www.starshine.org/ 
     _________________________________________________________________

   Published in Issue 100 of Linux Gazette, March 2004

More 2 Cent Tips!

 See also: The Answer Gang's [32]Knowledge Base and the LG [33]Search Engine
     _________________________________________________________________

     * [34]Backporting packages.
     * [35]Pushing files to multiple hosts
     * [36]compression speed
     * [37]2.6.2 kernel woes: Will not find root fs
     * [38]Live Linux CDs
     * [39]script for finding ssh-agent at login
     * Re: [LG 98] help wanted #1 --or--
       [40]Xine problem
     * Re: [LG 99] 2c Tips #1 --or--
       [41]Floppies on CD - the ultimate collection
     * Re: [LG 99] 2c Tips #9 --or--
       [42]Local Eth/Internet PPP can work together
     * Regarding: Mozilla Firebird review --or--
       [43]Sometimes it's not the website
     * [44]Securing a dial in?
     * [45]Full r/w to NTFS from Linux
     * [46]re: Renaming Ethernet Devices
     * [47]Anonymous batch FTP -> SFTP
     * [48]- close that audio stream
     * SuSE 8.2 SaX Configuration Tool and MultiSync 77F Monitor --or--
       [49]X is Smarter Now
            ____________________________________________________

Backporting packages.

   Sun, 22 Feb 2004 02:09:05 +0000 (GMT)
   Thomas Adam ([50]The LG Weekend Mechanic)

   Some of you will have expressed questions like: "When will XYZ be in stable"
   or  "is  there a backport for such and such". You can in fact backport
   packages yourself. For such cases, the following procedure works:

     (note: I maintain a number of backported debs, and this routine works)...

   1. Add a deb-src line for sid to your sources.list. Typically:

deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian/ unstable main

   2. Run:

apt-get update

   3.

apt-get build-dep  && apt-get -b source 

   (where:  refers to the package name in question). What this will do
   is install the build dependencies for the given package, and then will build
   the package.

   4. All that is left then is to do:

dpkg -i ./deb_files.deb
            ____________________________________________________

Pushing files to multiple hosts

   Mon, 2 Feb 2004 10:20:58 -0500
   Ben Okopnik ([51]LG Technical Editor)

   When I teach a class, I often need to push one or more files to my students'
   systems. Previously, I would write a "for-do-done" loop and use "scp" to get
   the files across, laboriously logging in and exiting out of each system
   every time I wanted to do a transfer - painfully clunky.

   Then I did some searching on the Net and found "sshtool" by "noconflic".
   Written in Expect, it allows multiple host logins and copying. However, it
   did   not   have   a   "no  password"  mode  (i.e.,  logging  in  when
   ".ssh/authorized_keys" contains your key) and read the list of hosts from a
   list defined within the program. I've modified it to read an external file
   called "pushlist" and added a "no password" mode; this last, of course,
   requires that you first push a "~/.ssh/authorized_keys" to the host list.

                    See attached [52]sshtool.expect.txt

   First, create your "pushlist", possibly from an "/etc/hosts" on one of the
   local machines. It should contain all your target hosts, one line per host.
   Next, create your ".ssh/authorized_keys" in the directory where you keep
   "sshtool" by copying your public keys into it:

ben@Fenrir:~/sshtool$ mkdir .ssh; cat ~/ssh/*pub > .ssh/authorized_keys

   Then, push it out to your hosts (NOTE: this replaces the remote hosts'
   "authorized_keys" files!):
=3=

1|2| < PREV = PAGE 3 = NEXT > |4|5|6|7|8|9|10|11|12.30

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.0115721 wallclock secs ( 0.01 usr + 0.01 sys = 0.02 CPU)