diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2001-04-13 22:46:55 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2001-04-13 22:46:55 +0000 |
commit | 7b24cffaa51e05a9f720f76db36786ff0c5f063a (patch) | |
tree | 4660b8a9fe634ae8d704ce93976617769f242cbf /usr.bin/ssh/channels.h | |
parent | 61707e99d27a0b20cf9360c587af42a3b3fab2b1 (diff) |
Add options ClientAliveInterval and ClientAliveCountMax to sshd.
This gives the ability to do a "keepalive" via the encrypted channel
which can't be spoofed (unlike TCP keepalives). Useful for when you want
to use ssh connections to authenticate people for something, and know
relatively quickly when they are no longer authenticated. Disabled
by default (of course). ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r-- | usr.bin/ssh/channels.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h index 23e6ece839d..bf70a8f215b 100644 --- a/usr.bin/ssh/channels.h +++ b/usr.bin/ssh/channels.h @@ -32,7 +32,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* RCSID("$OpenBSD: channels.h,v 1.30 2001/04/07 08:55:17 markus Exp $"); */ +/* RCSID("$OpenBSD: channels.h,v 1.31 2001/04/13 22:46:53 beck Exp $"); */ #ifndef CHANNELS_H #define CHANNELS_H @@ -307,4 +307,6 @@ int channel_connect_to(const char *host, u_short host_port); int channel_connect_by_listen_adress(u_short listen_port); int x11_connect_display(void); +int channel_find_open(void); + #endif |