Perhaps you can have a script to do it for you.

[EMAIL PROTECTED] ~]# MYNEW=`ifconfig ath0 | grep "inet addr" | sed -s 
's/          inet addr://g' | sed -s 's/  Bcast:192.168.2.255  Mask:
255.255.255.0//g'`

Then, do a....

# cat sshd_config | sed -s 's/THE_PLACEHOLDER/$MYNEW/g' > sshd_config

or something. figure it out - it can be done.

Regards,
John Martinelli
RedLevel.org Security
  • Multihomed ... Nirmal Babu Puliyadi Suriya Kumar -X (npuliyad - HCL at Cisco)
    • Re: Mu... Dallas Clement
    • RE: Mu... Nirmal Babu Puliyadi Suriya Kumar -X (npuliyad - HCL at Cisco)
    • Re: Mu... [EMAIL PROTECTED]
      • Re... Bertram Scharpf
        • ... David Ford
          • ... Greg Wooledge

Reply via email to