Search Results

Search: Posts Made By: syrius
1,643
Posted By syrius
This is my question exactly; how to make the...
This is my question exactly; how to make the script detect if Apache Splunk authentication is required or not. So far, based on my research, we cannot detect it from HTTP code since all the time it...
1,643
Posted By syrius
PHP script that detects if auth is required or not on Apache Splunk
I am currently trying to do a PHP script that detects automatically if Apache Splunk authentication is required or not but I'm having a hard time since HTTP code 303 is always coming back, even if...
3,455
Posted By syrius
Great, I believe this should do the trick very...
Great, I believe this should do the trick very well, I will test it tomorrow morning. I have 2 questions;

1) Why some ':' at the beginning?
2) Doesn't the 'one_user' 'one_host' 'one_sshkey'...
3,455
Posted By syrius
For a reason that I ignore, it seems like when...
For a reason that I ignore, it seems like when doing:
echo $users
echo $ssh_keys
echo $hosts_known

It's giving the following output all on the same line for each echo instead of let's say, 1...
3,455
Posted By syrius
What is not working is this part exactly: if...
What is not working is this part exactly:

if ssh -l $users -i $ssh_keys $hosts_known -o BatchMode=yes -o ConnectTimeout=5
then echo $users:$hosts_known:$ssh_keys SUCCESS >> results.txt
else...
3,455
Posted By syrius
I've received the following answer: you know...
I've received the following answer:

you know ssh have a return code ? along with -o BatchMode=yes this can help automatize test. (e.g. if ssh ... ; then echo good for ... >> good.txt ; else echo...
3,455
Posted By syrius
Find active SSH servers w/ ssh keys on LAN
Hi,

I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step:
#!/bin/bash

# LAN SSH KEYS DISCOVERY...
Showing results 1 to 7 of 7

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