Search Results

Search: Posts Made By: syrius
3,516
Posted By rbatte1
I'm assuming that you have the same code posted...
I'm assuming that you have the same code posted earlier:-users=$(cat cutted.bash_users)
cat ssh-keys.txt | awk '{print $9}' > cutted.ssh_keys.txt
ssh_keys=$(cat cutted.ssh_keys.txt)

if ssh -l...
3,516
Posted By Corona688
Try echo $users, etc. Maybe these variables...
Try echo $users, etc. Maybe these variables aren't what you think they are.
3,516
Posted By rbatte1
You could also use nc to poke the port before...
You could also use nc to poke the port before trying to connect.nc -z $target_server 22Return code of zero for a successful contact. That might cut down the number of hosts you try to talk to that...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy