update for new crypto/ssh
@@ -139,7 +139,11 @@ func (cmd *TSACommand) loadTeamAuthorizedKeys() ([]TeamAuthKeys, error) {
func (cmd *TSACommand) configureSSHServer(sessionAuthTeam *sessionTeam, authorizedKeys []ssh.PublicKey, teamAuthorizedKeys []TeamAuthKeys) (*ssh.ServerConfig, error) {
certChecker := &ssh.CertChecker{
- IsAuthority: func(key ssh.PublicKey) bool {
+ IsUserAuthority: func(key ssh.PublicKey) bool {
+ return false
+ },
+
+ IsHostAuthority: func(key ssh.PublicKey, address string) bool {
return false
},
