← Back to team overview

sslug-teknik team mailing list archive

SSH Authentication failed

 

Hejsa,

Jeg har været ved at prøve at sætte en SSH server op, men er løbet ind i
et problem.

Jeg kan connecte og logge ind fra localhost, men når jeg prøver fra en
anden maskine får jeg nedenstående output.

Nogen der har nogle ideer til hvad der kan være galt?

Det skal lige siges at jeg ønsker at have SSH til at fungere som en
telnet server. Dvs. jeg er ligeglad med hvor folk connecter fra, bare de
har et brugernavn/password. SSH skal ikke kræve at de connecter fra en
bestemt host/ip.

På forhånd tak!

Mvh.
Rasmus K. Brosbøl

$ ssh -v xxx.xxx.xxx.xxx
debug: hostname is 'xxx.xxx.xxx.xxx'.
debug: Unable to open /home/rkb/.ssh2/ssh2_config
debug: connecting to xxx.xxx.xxx.xxx...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug:
SshAuthMethodClient/sshauthmethodc.c:99/ssh_client_authentication_initialize:
Added "publickey" to usable methods.
debug:
SshAuthMethodClient/sshauthmethodc.c:99/ssh_client_authentication_initialize:
Added "password" to usable methods.
debug: Ssh2Client/sshclient.c:1097/ssh_client_wrap: creating userauth
protocol
debug: Ssh2Common/sshcommon.c:350/ssh_common_wrap: local ip =
xxx.xxx.xxx.xxx, local port = 8748
debug: Ssh2Common/sshcommon.c:352/ssh_common_wrap: remote ip =
xxx.xxx.xxx.xxx, remote port = 22
debug: SshConnection/sshconn.c:1853/ssh_conn_wrap: Wrapping...
debug: Ssh2Common/sshcommon.c:132/ssh_common_disconnect: DISCONNECT
received: Connection closed by remote host.
warning: Authentication failed.
debug: Ssh2/ssh2.c:76/client_disconnect: locally_generated = TRUE
Disconnected; connection lost (Connection closed by remote host.).
debug: uninitializing event loop


Follow ups