bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal for a pause command


From: Simone Piccardi
Subject: Proposal for a pause command
Date: Tue, 18 Dec 2007 20:31:28 +0100
User-agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009)

Hi,

don't know if this is the right place to ask; my english is quite bad,
so I hope I can explain it clearly.

My proposal is to have inside coreutils a pause command, i.e. a command
that just call the system call pause. I create such command (and I'm
using it) just compiling the following C code:

#include <unistd.h>
int main(int argc, char *argv[])
{
    return pause();
}

I use this command as a shell for an SSH user that can create a
connection that does nothing but wait, just for the sake to keep the
connection up.

This way I can ask to someone to connect to my public server, without
giving him a real shell access. When I need to access an internal server
that cannot be reached from internet, I can ask a person to setup a port
forwarding SSH tunnel to my public server, so I can gain access without
the need to modify his firewall.

Don't know if this can be enough for an inclusion in coreutils, so I'm
asking here...

Regards
Simone
-- 
Simone Piccardi                                 Truelite Srl
address@hidden (email/jabber)             Via Monferrato, 6
Tel. +39-347-1032433                            50142 Firenze
http://www.truelite.it  Tel. +39-055-7879597    Fax. +39-055-7333336




reply via email to

[Prev in Thread] Current Thread [Next in Thread]