1295367Sdes/* $OpenBSD: auth-options.h,v 1.21 2015/01/14 10:30:34 markus Exp $ */ 292555Sdes 365668Skris/* 465668Skris * Author: Tatu Ylonen <ylo@cs.hut.fi> 565668Skris * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 665668Skris * All rights reserved 765668Skris * 865668Skris * As far as I am concerned, the code I have written for this software 965668Skris * can be used freely for any purpose. Any derived versions of this 1065668Skris * software must be clearly marked as such, and if the derived work is 1165668Skris * incompatible with the protocol description in the RFC file, it must be 1265668Skris * called by a name other than "ssh" or "Secure Shell". 1365668Skris */ 1469587Sgreen 1565668Skris#ifndef AUTH_OPTIONS_H 1665668Skris#define AUTH_OPTIONS_H 1776259Sgreen 1876259Sgreen/* Linked list of custom environment strings */ 1976259Sgreenstruct envstring { 2076259Sgreen struct envstring *next; 2176259Sgreen char *s; 2276259Sgreen}; 2376259Sgreen 2465668Skris/* Flags that may be set in authorized_keys options. */ 2565668Skrisextern int no_port_forwarding_flag; 2665668Skrisextern int no_agent_forwarding_flag; 2765668Skrisextern int no_x11_forwarding_flag; 2865668Skrisextern int no_pty_flag; 29181111Sdesextern int no_user_rc; 3065668Skrisextern char *forced_command; 3165668Skrisextern struct envstring *custom_environment; 32157016Sdesextern int forced_tun_device; 33204917Sdesextern int key_is_cert_authority; 34215116Sdesextern char *authorized_principals; 3565668Skris 3692555Sdesint auth_parse_options(struct passwd *, char *, char *, u_long); 3769587Sgreenvoid auth_clear_options(void); 38295367Sdesint auth_cert_options(struct sshkey *, struct passwd *); 3969587Sgreen 4065668Skris#endif 41