If u want to ssh to Ubuntu, then u have to setup a ssh server on ubuntu.
Do "sudo apt-get install ssh". Then do "ifconfig", to find ur ip. and then from windows machine, open putty and enter "the ip address" of ubuntu machine that u found. Simple!
Neways, ur question is vague! If u r asking to find the machines that r up n running then u can ping them!
U can use my
shell script to find the machines that r alive, to enable u to see them! Here...
ip_add=`echo $1 | cut -f1,2,3 -d.`
for (( i=$2 ; i<=$3 ; i++ ))
do
cnt=`ping "$ip_add.$i" -c 1 | grep "100%" | wc -l`
if [ $cnt -eq 1 ];then
echo "$ip_add.$i is dead"
else
echo "$ip_add.$i is alive"
fi
done
License : GPL3
author:mediator
1. Save this code and name the file as say 'detect'
2. Open terminal to the directory containing the file 'detect'
3. Do 'chmod +x detect'
3. './detect <IPaddress> <start> <end>
So if u do './detect 192.168.1.1 5 10' , it will look from 192.168.1.5 to 192.168.1.10 and will inform u about the machines that r alive and in ur network and to which u may connect!