Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am eran132 on github.
  • I am eranmark (https://keybase.io/eranmark) on keybase.
  • I have a public key ASDVii2XbZR9pJ_wbEUImZ8WieAtpZ14f6JGZIOn6613Mgo

To claim this, I am signing this object:

@eran132
eran132 / keybase.md
Last active September 25, 2019 12:29

Keybase proof

I hereby claim:

  • I am eran132 on github.
  • I am eranmark (https://keybase.io/eranmark) on keybase.
  • I have a public key ASCocmW0kHDGDUTfHXhNAhpBmDZqUQS--Gr9U5AivoPM1wo

To claim this, I am signing this object:

@eran132
eran132 / gist:2ce8bb567e317e51b2e6
Last active August 29, 2015 14:06
Set single sign-on to SSH servers
#First make sure you have expect package installed
#Prepare the ip addresses list using NMAP
#!/usr/bin/expect
set hostlist [open /path/to/ip_addresses_of_hosts_with_ssh_daemon.txt]
set ipaddrs [read $hostlist]
foreach line [split $ipaddrs \n] {