Skip to content

Instantly share code, notes, and snippets.

@seisvelas
Created December 8, 2020 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seisvelas/7a0262e1aa29741e0b7878364d8bc720 to your computer and use it in GitHub Desktop.
Save seisvelas/7a0262e1aa29741e0b7878364d8bc720 to your computer and use it in GitHub Desktop.
Script for Khety to easily SSH into Fatima's laptop with my user
ssh alex@$(nmap -sn 192.168.1.0/24 | grep fatima | awk '{ print $6 }' | sed -e 's/(\|)//g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment