- [auth.c auth.h servconf.c servconf.h serverloop.c session.c]
[session.h ssh.h sshd.c README.openssh2]
ssh2 server side, see README.openssh2; enable with 'sshd -2'
- [channels.c]
no adjust after close
- [sshd.c compat.c ]
interop w/ latest ssh.com windows client.
15 lines
318 B
C
15 lines
318 B
C
#ifndef SESSION_H
|
|
#define SESSION_H
|
|
|
|
/* SSH1 */
|
|
void do_authenticated(struct passwd * pw);
|
|
|
|
/* SSH2 */
|
|
void do_authenticated2(void);
|
|
int session_open(int id);
|
|
void session_input_channel_req(int id, void *arg);
|
|
void session_close_by_pid(pid_t pid, int status);
|
|
void session_close_by_channel(int id, void *arg);
|
|
|
|
#endif
|