Patch attached.
--- a/src/mssh-terminal.c +++ b/src/mssh-terminal.c @@ -46,8 +46,9 @@ void mssh_terminal_start_session(MSSHTerminal *terminal, char **env) args[1] = terminal->hostname; args[2] = NULL; - vte_terminal_fork_command(VTE_TERMINAL(terminal), "ssh", args, - env, NULL, FALSE, FALSE, FALSE); + vte_terminal_fork_command_full(VTE_TERMINAL(terminal), + VTE_PTY_NO_LASTLOG | VTE_PTY_NO_UTMP | VTE_PTY_NO_WTMP, + NULL, args, env, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); free(args[0]); }