#!/usr/bin/env bash while true do ssh $1 done
Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts
Sunday, March 29, 2015
Friday, April 13, 2012
Basic ssh login script
#!/usr/bin/env bash ip="127.0.0.1"; u="joe"; p="2222" webport="8080"; while true; do echo "http://$ip:$webport": echo "ssh -p $p $u@$ip"; read -p "press enter"; ssh -p $p $u@$ip; done
Monday, December 24, 2007
Telnet Into All in IP Range
<source_code>
#!/bin/bash
host=0;
IP=10.0.2;
scheme=telnet;
while [ $host -lt 255 ]
do
${scheme} ${IP}.${host};
let "host = host+1";
done
</source_code>
Subscribe to:
Posts (Atom)