diff options
author | ivan <ivan> | 1998-09-25 08:52:48 +0000 |
---|---|---|
committer | ivan <ivan> | 1998-09-25 08:52:48 +0000 |
commit | 08f52e31c5f777963d565085d077c9d8d9734e17 (patch) | |
tree | 12cadac5ed336b42861b7df1907fd74c0bda5944 /htdocs/docs/man/SSH.txt | |
parent | 693939e7879f77a52b9e482a0f6bf2e80f8f7020 (diff) |
Initial revision
Diffstat (limited to 'htdocs/docs/man/SSH.txt')
-rw-r--r-- | htdocs/docs/man/SSH.txt | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/htdocs/docs/man/SSH.txt b/htdocs/docs/man/SSH.txt new file mode 100644 index 000000000..b6d205b55 --- /dev/null +++ b/htdocs/docs/man/SSH.txt @@ -0,0 +1,63 @@ +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 + the ssh manpage, the scp manpage, the IPC::Open2 manpage, + the IPC::Open3 manpage + +HISTORY + ivan@voicenet.com 97-jul-17 + + added sshopen2 and sshopen3 ivan@sisd.com 98-mar-9 + + added iscp ivan@sisd.com 98-jul-25 now iscp asks y/n, issh + and took out path ivan@sisd.com 98-jul-30 + + pod ivan@sisd.com 98-sep-21 + |