Lazy Reading for 2015/09/06

Somehow I managed to find mostly articles with long headlines this week.

3 Replies to “Lazy Reading for 2015/09/06”

  1. The expect (first) link is 404. The main site is a lawyer’s site. Is there a typo in the domain?

  2. expect saved my ass a lot of times. Dell PowerConnect 3548 switches don´t accept ssh batch commands, so, expect worker “as expected” (ba dum, tssssssssss), to remotely backup configuration to a tftp server.

    Snippet:
    ———————-
    pc3548(){
    /usr/bin/env expect <<-END3548
    spawn ssh -o StrictHostKeyChecking=no -o LogLevel=quiet $IP
    expect "User Name:"
    send "$USER\r"
    expect "Password:"
    send "$PASS\r"
    expect "*# "
    send "copy startup-config tftp://$SERVER/$SWNAME.cfg.bkp\r"
    sleep 10
    END3548
    }
    ————————

Comments are closed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • nwildner
  • Justin Sherrill
  • Kurt Mosiejczuk