Skip to content

Commit 1ee3afb

Browse files
committed
session server UPDATE add more debug messages
1 parent bd6957f commit 1ee3afb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/session_server_ssh.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,6 +1770,8 @@ nc_accept_ssh_session_open_netconf_channel(struct nc_session *session, struct nc
17701770
struct timespec ts_timeout;
17711771
ssh_message msg;
17721772

1773+
DBG(session, "Waiting for \"netconf\" SSH subsystem request...");
1774+
17731775
if (timeout) {
17741776
nc_timeouttime_get(&ts_timeout, timeout * 1000);
17751777
}
@@ -1866,6 +1868,8 @@ nc_accept_ssh_session_auth(struct nc_session *session, struct nc_server_ssh_opts
18661868
ssh_message msg;
18671869
struct nc_auth_state auth_state = {0};
18681870

1871+
DBG(session, "SSH authentication...");
1872+
18691873
/* authenticate */
18701874
if (opts->auth_timeout) {
18711875
nc_timeouttime_get(&ts_timeout, opts->auth_timeout * 1000);
@@ -1967,6 +1971,7 @@ nc_accept_ssh_session(struct nc_session *session, struct nc_server_ssh_opts *opt
19671971
/* set to non-blocking */
19681972
ssh_set_blocking(session->ti.libssh.session, 0);
19691973

1974+
DBG(session, "Performing SSH key exchange...");
19701975
if (timeout > -1) {
19711976
nc_timeouttime_get(&ts_timeout, timeout);
19721977
}

0 commit comments

Comments
 (0)