updated for clarity and to heed a warning about filehandle syntax of open in File::Remoteuse File::Remote; { my $secure = new File::Remote (rsh => "/usr/local/bin/ssh", rcp => "/usr/local/bin/scp" ); $secure -> open( \*SSHID, "$host:~$user/.ssh/identity") ? ( $secure -> close( \*SSHID ) || die($!) ) : die "access denied\n"; }
^M Free your mind!
In reply to Re^2: SSH leaving terminal confused issue
by Moron
in thread SSH leaving terminal confused issue
by wulvrine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |