From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/SSH.html | 104 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 htdocs/docs/man/FS/SSH.html (limited to 'htdocs/docs/man/FS/SSH.html') diff --git a/htdocs/docs/man/FS/SSH.html b/htdocs/docs/man/FS/SSH.html new file mode 100644 index 000000000..aa8929b09 --- /dev/null +++ b/htdocs/docs/man/FS/SSH.html @@ -0,0 +1,104 @@ + + +FS::SSH - Subroutines to call ssh and scp + + + + + + + + + + +
+

+

NAME

+

+FS::SSH - Subroutines to call ssh and scp + +

+


+

SYNOPSIS

+

+

  use FS::SSH qw(ssh scp issh iscp sshopen2 sshopen3);
+
+

+

  ssh($host, $command);
+
+

+

  issh($host, $command);
+
+

+

  scp($source, $destination);
+
+

+

  iscp($source, $destination);
+
+

+

  sshopen2($host, $reader, $writer, $command);
+
+

+

  sshopen3($host, $reader, $writer, $error, $command);
+
+

+


+

DESCRIPTION

+

+

  Simple wrappers around ssh and scp commands.
+
+

+


+

SUBROUTINES

+
+
ssh HOST, COMMAND
+

+Calls ssh in batch mode. + +

issh HOST, COMMAND
+

+Prints the ssh command to be executed, waits for the user to confirm, and +(optionally) executes the command. + +

scp SOURCE, DESTINATION
+

+Calls scp in batch mode. + +

iscp SOURCE, DESTINATION
+

+Prints the scp command to be executed, waits for the user to confirm, and +(optionally) executes the command. + +

sshopen2 HOST, READER, WRITER, COMMAND
+

+Connects the supplied filehandles to the ssh process (in batch mode). + +

sshopen3 HOST, WRITER, READER, ERROR, COMMAND
+

+Connects the supplied filehandles to the ssh process (in batch mode). + +

BUGS

+

+Not OO. + +

+scp stuff should transparantly use rsync-over-ssh instead. + +

SEE ALSO

+

+ssh, scp, IPC::Open2, IPC::Open3 + + + +

+ + + -- cgit v1.2.1