Commit 6c4b459b authored by Eric's avatar Eric

[update] fix bugs

parent 149e966d
...@@ -33,7 +33,7 @@ func (p *ProxyServer) getSystemUserAuthOrManualSet() { ...@@ -33,7 +33,7 @@ func (p *ProxyServer) getSystemUserAuthOrManualSet() {
if err != nil { if err != nil {
logger.Errorf("Get password from user err %s", err.Error()) logger.Errorf("Get password from user err %s", err.Error())
} }
logger.Info("Get password fom user input: ", line) logger.Info("Get password from user input: ", line)
p.SystemUser.Password = line p.SystemUser.Password = line
} }
} }
...@@ -91,6 +91,7 @@ func (p *ProxyServer) getSSHConn() (srvConn *ServerSSHConnection, err error) { ...@@ -91,6 +91,7 @@ func (p *ProxyServer) getSSHConn() (srvConn *ServerSSHConnection, err error) {
} }
func (p *ProxyServer) getTelnetConn() (srvConn *ServerSSHConnection, err error) { func (p *ProxyServer) getTelnetConn() (srvConn *ServerSSHConnection, err error) {
// Todo: Telnet connect
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment