Slowed down start of ssh under windows.

8 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Slowed down start of ssh under windows.

I try to connect ssh from cwRsync suite to sshd server, and all works right except windows (98) first wait for something during about 30 seconds, and only after that ssh connection occurs./ect/host and c:\windows\hosts are OK.

I guess that reason is in some windows settings, may be...
What could I do for get rid of such delay?

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.

Try to increase output verbosity (-vv) to find out where the delay is introduced.

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.
itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.

Verbosity give not results.
D:\Programs\cwRsync\bin>ssh root@192.168.1.1 -i D:\.ssh\last1 -2 -v > log.txt
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005

---- DELAY ~30 SECS HERE ----

debug1: Connecting to 192.168.1.1 port 22.
debug1: Connection established.
debug1: identity file D:\\.ssh\\last1 type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.1
debug1: match: OpenSSH_4.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.

syslog.conf:
*.=info;*.=notice /usr/adm/messages
*.=debug;*.=warn /usr/adm/debug

Files contains records about successful connections, no more...

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Slowed down start of ssh under windows.

tcpdump shows that ssh try connect through netbios during that 30 seconds.
But PuTTy connects directly from same machine...

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.

That could be related to your TCP/IP settings. How does it look like ? DNS ? WINS ? Node type ?

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Slowed down start of ssh under windows.

That could be related to your TCP/IP settings. How does it look like ? DNS ? WINS ? Node type ?

DNS was localserver-IP, providerserver-IP.
Now I disabled it - no result also.

WINS disabled.

NodeType - was 1. I tried to change it (1,2,4,8) still it dosn't work also.

I made empty
and

sections and set
"IPAutoConfigurationEnabled"=dword:00000000 (also I tried string and binary types) in

and that sections still appears after reboot.

And IPAutoconfigurationAddress windows again automatically set to 169.254.96.25

Topic locked

Release announcements