Search Results

Search: Posts Made By: qwarentine
1,472
Posted By in2nix4life
Add the -n option to the ssh command: ...
Add the -n option to the ssh command:


#!/bin/bash


cat ~/tmp/test.dat | while read line
do
echo $line

if ssh -n tempuser@host5592 "test -e '/home/tempuser/tmp/test.dat'"; then
...
Showing results 1 to 1 of 1

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