Open SquirrelCorporation opened 7 months ago
Hi,
Kind of a silly question, but I cannot connect to remote server with SSH with a user / password, and cannot figure out why. Can anyone help me figure it out?
Here is my conf:
const options: Dockerode.DockerOptions = {}; options.protocol = 'ssh'; options.port = 22; options.username = this.configuration.username; options.host = this.configuration.host; options.sshOptions = { // tryKeyboard: true, host: this.configuration.host, port: this.configuration.port, username: this.configuration.username, password: this.configuration.password, debug: (message) => { logger.error(message); }, }; logger.info(options); this.dockerApi = new Dockerode(options);
Logs of debug method:
server-1 | [19:05:41.501] ERROR (805): Verifying signature ... server-1 | [19:05:41.502] ERROR (805): Verified signature server-1 | [19:05:41.502] ERROR (805): Handshake completed server-1 | [19:05:41.502] ERROR (805): Outbound: Sending SERVICE_REQUEST (ssh-userauth) server-1 | [19:05:41.502] ERROR (805): Inbound: Received EXT_INFO server-1 | [19:05:41.503] ERROR (805): Inbound: Received SERVICE_ACCEPT (ssh-userauth) server-1 | [19:05:41.503] ERROR (805): Outbound: Sending USERAUTH_REQUEST (none) server-1 | [19:05:41.505] ERROR (805): Inbound: Received SERVICE_ACCEPT (ssh-userauth) server-1 | [19:05:41.505] ERROR (805): Outbound: Sending USERAUTH_REQUEST (none) server-1 | [19:05:41.516] ERROR (805): Inbound: Received USERAUTH_FAILURE (publickey,password) server-1 | [19:05:41.516] ERROR (805): Client: none auth failed server-1 | [19:05:41.516] ERROR (805): Outbound: Sending USERAUTH_REQUEST (keyboard-interactive) server-1 | [19:05:41.518] ERROR (805): Inbound: Received USERAUTH_FAILURE (publickey,password) server-1 | [19:05:41.518] ERROR (805): Client: none auth failed server-1 | [19:05:41.518] ERROR (805): Outbound: Sending USERAUTH_REQUEST (keyboard-interactive) server-1 | [19:05:41.529] ERROR (805): Inbound: Received USERAUTH_FAILURE (publickey,password) server-1 | [19:05:41.529] ERROR (805): Client: keyboard-interactive auth failed server-1 | [19:05:41.530] ERROR (805): Outbound: Sending DISCONNECT (11)
@apocas 🙏
Hi,
Kind of a silly question, but I cannot connect to remote server with SSH with a user / password, and cannot figure out why. Can anyone help me figure it out?
Here is my conf:
Logs of debug method: