%define name fsh %define ver 1.2 %define rel monkeyiq2 %define prefix /usr/local Name: %{name} Version: %{ver} Release: %{rel} License: GPL/LGPL Summary: Wrapper for ssh/lsh to cache sessions Group: Applications/Internet Source: http://www.lysator.liu.se/fsh/fsh-%{version}.tar.gz Vendor: monkeyiq URL: http://www.lysator.liu.se/fsh Packager: monkeyiq BuildRoot: /var/tmp/fsh-%{PACKAGE_VERSION}-root Requires: openssh >= 2.9p2 Requires: python >= 1.5.2 BuildArchitectures: noarch %description fsh uses lsh or ssh to establish a secure tunnel to the remote system. This takes as long as a normal connection establishment, but once the tunnel is established, fsh can reuse it to start new sessions on the remote system almost instantaneously. You get the security of ssh and the speed of rsh. There are three programs at work. fshd establish a tunnel to the remote system. It can use lsh, ssh or even rsh to establish it. It will start in.fshd on the remote system. You can start fshd manually, or allow fsh to do it automatically on an as-needed basis. in.fshd receives commands such as "create a new session running the command gcc foo.c, and call it session 3" or "send the following data to standard input of session 5" via the tunnel. You would normally not interact directly with in.fshd. fsh is a drop-in replacement for rsh. It connects to the local fshd using a unix domain socket that is protected so that only the user that started fshd can connect to it. It uses fshd to forward a request to in.fshd, which will in turn start the requested program. %prep %setup %build ./configure --prefix=/usr/local make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc fsh.info %{prefix}/share/fsh/* %{prefix}/bin/* %{prefix}/libexec/* %{prefix}/info/*