mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
More logging on the user/key
This commit is contained in:
parent
aebbf047d2
commit
b6884262fd
@ -335,7 +335,9 @@ static void tmate_spawn_slave_server(struct tmate_ssh_client *client)
|
|||||||
set_session_token(client, token);
|
set_session_token(client, token);
|
||||||
free(token);
|
free(token);
|
||||||
|
|
||||||
tmate_debug("Spawning slave server for %s", client->ip_address);
|
tmate_debug("Spawning slave server for %s at %s (%s)",
|
||||||
|
client->username, client->ip_address, client->pubkey);
|
||||||
|
|
||||||
|
|
||||||
tmux_socket_fd = server_create_socket();
|
tmux_socket_fd = server_create_socket();
|
||||||
if (tmux_socket_fd < 0)
|
if (tmux_socket_fd < 0)
|
||||||
@ -396,7 +398,8 @@ static void tmate_spawn_slave_client(struct tmate_ssh_client *client)
|
|||||||
|
|
||||||
set_session_token(client, token);
|
set_session_token(client, token);
|
||||||
|
|
||||||
tmate_debug("Spawning slave client for %s", client->ip_address);
|
tmate_debug("Spawning slave client for %s (%s)",
|
||||||
|
client->ip_address, client->pubkey);
|
||||||
|
|
||||||
tmux_socket_fd = client_connect(socket_path, 0);
|
tmux_socket_fd = client_connect(socket_path, 0);
|
||||||
if (tmux_socket_fd < 0) {
|
if (tmux_socket_fd < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user