You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use goph to create a session, remotely execute the launcher command(start program), and then call client.Close(), the machine does not receive a Removed session message(localhost systemd-logind: Removed session 1169. /var/log/messages), what can cause this to happen?
When I use goph to create a session, remotely execute the launcher command(start program), and then call client.Close(), the machine does not receive a Removed session message(localhost systemd-logind: Removed session 1169. /var/log/messages), what can cause this to happen?
client, err1 := goph.NewConn(&goph.Config{
User: "root",
Addr: ip,
Port: 22,
Auth: auth,
Timeout: goph.DefaultTimeout,
Callback: ssh.InsecureIgnoreHostKey(),
})
out, err2 := client.Run("sh /data/script/bgservctl.sh xx xx x")
in script
nohup $ROOT/server >/tmp/gserver.log 2>&1 &
The text was updated successfully, but these errors were encountered: