Access denied /Server unexpectedly closed network connection
Dear all,
I have been cracking my head for 2 days and found no solution yet.
Trying to setup an SSH connction, Im using freeSSHd on my windows server, users have been created and port 22 have been forwarded from the router.
The thing is that I can login using winSCP using LAN IP as the hostname (from server or other PCs on the LAN).
But if I use my WAN IP (router IP) i will have this error "Server unexpectedly closed network connection" OR "Access denied".....
Thnaks for your help
here is my log file....
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.240 WinSCP Version 4.2.5 (Build 624) (OS 6.0.6002 Service Pack 2)
. 2010-03-10 16:14:11.240 Login time: Wednesday, March 10, 2010 4:14:11 PM
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.240 Session name: session
. 2010-03-10 16:14:11.240 Host name: 124.13.x.xxx (Port: 22)
. 2010-03-10 16:14:11.240 User name: Munzer (Password: Yes, Key file: No)
. 2010-03-10 16:14:11.240 Tunnel: No
. 2010-03-10 16:14:11.240 Transfer Protocol: SFTP (SCP)
. 2010-03-10 16:14:11.240 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2010-03-10 16:14:11.240 Proxy: none
. 2010-03-10 16:14:11.240 SSH protocol version: 2; Compression: No
. 2010-03-10 16:14:11.240 Bypass authentication: No
. 2010-03-10 16:14:11.240 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2010-03-10 16:14:11.240 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2010-03-10 16:14:11.240 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2010-03-10 16:14:11.240 SFTP Bugs: -,-
. 2010-03-10 16:14:11.240 Return code variable: Autodetect; Lookup user groups: Yes
. 2010-03-10 16:14:11.240 Shell: default, EOL: 1
. 2010-03-10 16:14:11.240 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2010-03-10 16:14:11.240 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2010-03-10 16:14:11.240 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-03-10 16:14:11.240 Cache directory changes: Yes, Permanent: Yes
. 2010-03-10 16:14:11.240 DST mode: 0
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.302 Looking up host "124.13.x.xxx"
. 2010-03-10 16:14:11.302 Connecting to 124.13.x.xxx port 22
. 2010-03-10 16:14:11.334 Server version: SSH-2.0-dropbear_0.46
. 2010-03-10 16:14:11.334 Using SSH protocol version 2
. 2010-03-10 16:14:11.334 We claim version: SSH-2.0-WinSCP_release_4.2.5
. 2010-03-10 16:14:11.334 Using Diffie-Hellman with standard group "group1"
. 2010-03-10 16:14:11.334 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-03-10 16:14:12.176 Host key fingerprint is:
. 2010-03-10 16:14:12.176 ssh-rsa 1040 d6:8f:96:ec:73:70:67:33:70:a7:52:a6:8a:2f:56:14
. 2010-03-10 16:14:12.176 Initialised triple-DES CBC client->server encryption
. 2010-03-10 16:14:12.176 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-03-10 16:14:12.176 Initialised triple-DES CBC server->client encryption
. 2010-03-10 16:14:12.176 Initialised HMAC-SHA1 server->client MAC algorithm
! 2010-03-10 16:14:12.192 Using username "Munzer".
. 2010-03-10 16:14:12.207 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:14:12.207 Using stored password.
. 2010-03-10 16:14:12.207 Sent password
! 2010-03-10 16:14:12.816 Access denied
. 2010-03-10 16:14:12.831 Access denied
. 2010-03-10 16:14:12.831 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:16.130 Sent password
! 2010-03-10 16:15:16.130 Access denied
. 2010-03-10 16:15:16.130 Access denied
. 2010-03-10 16:15:16.130 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:18.392 Sent password
! 2010-03-10 16:15:18.392 Access denied
. 2010-03-10 16:15:18.392 Access denied
. 2010-03-10 16:15:18.392 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:20.720 Sent password
! 2010-03-10 16:15:20.720 Access denied
. 2010-03-10 16:15:20.721 Access denied
. 2010-03-10 16:15:20.722 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:22.215 Sent password
! 2010-03-10 16:15:22.215 Access denied
. 2010-03-10 16:15:22.215 Access denied
. 2010-03-10 16:15:22.215 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:23.089 Sent password
! 2010-03-10 16:15:23.089 Access denied
. 2010-03-10 16:15:23.089 Access denied
. 2010-03-10 16:15:23.089 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:25.943 Sent password
! 2010-03-10 16:15:25.943 Access denied
. 2010-03-10 16:15:25.943 Access denied
. 2010-03-10 16:15:25.943 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:27.800 Sent password
! 2010-03-10 16:15:27.800 Access denied
. 2010-03-10 16:15:27.800 Access denied
. 2010-03-10 16:15:27.800 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:28.486 Sent password
. 2010-03-10 16:15:28.486 Network error: Software caused connection abort
* 2010-03-10 16:15:28.502 (ESshFatal) Network error: Software caused connection abort
* 2010-03-10 16:15:28.502 Authentication log (see session log for details):
* 2010-03-10 16:15:28.502 Using username "Munzer".
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502
* 2010-03-10 16:15:28.502 Authentication failed.
I have been cracking my head for 2 days and found no solution yet.
Trying to setup an SSH connction, Im using freeSSHd on my windows server, users have been created and port 22 have been forwarded from the router.
The thing is that I can login using winSCP using LAN IP as the hostname (from server or other PCs on the LAN).
But if I use my WAN IP (router IP) i will have this error "Server unexpectedly closed network connection" OR "Access denied".....
Thnaks for your help
here is my log file....
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.240 WinSCP Version 4.2.5 (Build 624) (OS 6.0.6002 Service Pack 2)
. 2010-03-10 16:14:11.240 Login time: Wednesday, March 10, 2010 4:14:11 PM
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.240 Session name: session
. 2010-03-10 16:14:11.240 Host name: 124.13.x.xxx (Port: 22)
. 2010-03-10 16:14:11.240 User name: Munzer (Password: Yes, Key file: No)
. 2010-03-10 16:14:11.240 Tunnel: No
. 2010-03-10 16:14:11.240 Transfer Protocol: SFTP (SCP)
. 2010-03-10 16:14:11.240 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2010-03-10 16:14:11.240 Proxy: none
. 2010-03-10 16:14:11.240 SSH protocol version: 2; Compression: No
. 2010-03-10 16:14:11.240 Bypass authentication: No
. 2010-03-10 16:14:11.240 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2010-03-10 16:14:11.240 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2010-03-10 16:14:11.240 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2010-03-10 16:14:11.240 SFTP Bugs: -,-
. 2010-03-10 16:14:11.240 Return code variable: Autodetect; Lookup user groups: Yes
. 2010-03-10 16:14:11.240 Shell: default, EOL: 1
. 2010-03-10 16:14:11.240 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2010-03-10 16:14:11.240 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2010-03-10 16:14:11.240 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-03-10 16:14:11.240 Cache directory changes: Yes, Permanent: Yes
. 2010-03-10 16:14:11.240 DST mode: 0
. 2010-03-10 16:14:11.240 --------------------------------------------------------------------------
. 2010-03-10 16:14:11.302 Looking up host "124.13.x.xxx"
. 2010-03-10 16:14:11.302 Connecting to 124.13.x.xxx port 22
. 2010-03-10 16:14:11.334 Server version: SSH-2.0-dropbear_0.46
. 2010-03-10 16:14:11.334 Using SSH protocol version 2
. 2010-03-10 16:14:11.334 We claim version: SSH-2.0-WinSCP_release_4.2.5
. 2010-03-10 16:14:11.334 Using Diffie-Hellman with standard group "group1"
. 2010-03-10 16:14:11.334 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-03-10 16:14:12.176 Host key fingerprint is:
. 2010-03-10 16:14:12.176 ssh-rsa 1040 d6:8f:96:ec:73:70:67:33:70:a7:52:a6:8a:2f:56:14
. 2010-03-10 16:14:12.176 Initialised triple-DES CBC client->server encryption
. 2010-03-10 16:14:12.176 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-03-10 16:14:12.176 Initialised triple-DES CBC server->client encryption
. 2010-03-10 16:14:12.176 Initialised HMAC-SHA1 server->client MAC algorithm
! 2010-03-10 16:14:12.192 Using username "Munzer".
. 2010-03-10 16:14:12.207 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:14:12.207 Using stored password.
. 2010-03-10 16:14:12.207 Sent password
! 2010-03-10 16:14:12.816 Access denied
. 2010-03-10 16:14:12.831 Access denied
. 2010-03-10 16:14:12.831 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:16.130 Sent password
! 2010-03-10 16:15:16.130 Access denied
. 2010-03-10 16:15:16.130 Access denied
. 2010-03-10 16:15:16.130 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:18.392 Sent password
! 2010-03-10 16:15:18.392 Access denied
. 2010-03-10 16:15:18.392 Access denied
. 2010-03-10 16:15:18.392 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:20.720 Sent password
! 2010-03-10 16:15:20.720 Access denied
. 2010-03-10 16:15:20.721 Access denied
. 2010-03-10 16:15:20.722 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:22.215 Sent password
! 2010-03-10 16:15:22.215 Access denied
. 2010-03-10 16:15:22.215 Access denied
. 2010-03-10 16:15:22.215 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:23.089 Sent password
! 2010-03-10 16:15:23.089 Access denied
. 2010-03-10 16:15:23.089 Access denied
. 2010-03-10 16:15:23.089 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:25.943 Sent password
! 2010-03-10 16:15:25.943 Access denied
. 2010-03-10 16:15:25.943 Access denied
. 2010-03-10 16:15:25.943 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:27.800 Sent password
! 2010-03-10 16:15:27.800 Access denied
. 2010-03-10 16:15:27.800 Access denied
. 2010-03-10 16:15:27.800 Prompt (6, SSH password, , &Password: )
. 2010-03-10 16:15:28.486 Sent password
. 2010-03-10 16:15:28.486 Network error: Software caused connection abort
* 2010-03-10 16:15:28.502 (ESshFatal) Network error: Software caused connection abort
* 2010-03-10 16:15:28.502 Authentication log (see session log for details):
* 2010-03-10 16:15:28.502 Using username "Munzer".
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502 Access denied.
* 2010-03-10 16:15:28.502
* 2010-03-10 16:15:28.502 Authentication failed.