Search Results

Search: Posts Made By: cs03dmj
93,774
Posted By cs03dmj
ssh -q -o "BatchMode=yes" user@host "echo 2>&1"...
ssh -q -o "BatchMode=yes" user@host "echo 2>&1" && echo "OK" || echo "NOK"

...will solve your problem, by running quietly and in batch mode (no user present to enter a password). See man...
Showing results 1 to 1 of 1

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