message now indicates what to do when using ssh and when using sftp
This commit is contained in:
parent
061fabfd07
commit
813d398ea4
@ -357,7 +357,7 @@ func check() {
|
||||
state.expiryIsNear = expiryTime.Sub(now) < state.advanceWarningDuration
|
||||
if state.expiryIsNear {
|
||||
messageUsers(
|
||||
fmt.Sprintf("Session will expire at %s, press any key to extend it.", expiryTime.Format(time.DateTime)))
|
||||
fmt.Sprintf("Session will expire at %s, press any key to (ssh) or execute a command (sftp) to extend it.", expiryTime.Format(time.DateTime)))
|
||||
//for _, session := range state.clients {
|
||||
// printHelpMessage(session.sshSession)
|
||||
//}
|
||||
|
Loading…
Reference in New Issue
Block a user