Witam mam problem z ssh, po zainstalowaniu systemu Debian w wersji 4 wydałem polecenie apt-get install ssh i wszystko było by ok gdy nie fakt że za pomocą programu czy to putty czy to winscp jest problem z nawiązywaniem połączenia nie zawsze, czasem łączy czasem nie o to logi z klienta:
Logując się na usera jest tak samo, pomogło na chwile jak odinstalowałem ssh i zainstalowałem jeszcze raz ale po chwili znów to samo. Dziękuje za zainteresowanie się moim problemem.
[ Dodano: 2007-11-17, 00:54 ]
Teraz dostaje w logach takie informacje
. 2007-11-17 00:49:58.000 Looking up host "********"
. 2007-11-17 00:49:58.000 Connecting to ******* port 22
. 2007-11-17 00:49:58.078 Server version: SSH-2.0-OpenSSH_4.3p2 Debian-9
. 2007-11-17 00:49:58.078 We claim version: SSH-2.0-WinSCP_release_4.0.5
. 2007-11-17 00:49:58.078 Using SSH protocol version 2
. 2007-11-17 00:49:58.109 Doing Diffie-Hellman group exchange
. 2007-11-17 00:49:58.234 Doing Diffie-Hellman key exchange
. 2007-11-17 00:49:58.750 Host key fingerprint is:
. 2007-11-17 00:49:58.750 ssh-rsa 2048 d3:23:1a:d6:db:8e:70:96:ae:e7:c5:2d:cf:99:b7:a9
. 2007-11-17 00:49:58.750 Initialised AES-256 client->server encryption
. 2007-11-17 00:49:58.750 Initialised HMAC-SHA1 client->server MAC algorithm
. 2007-11-17 00:49:58.750 Initialised AES-256 server->client encryption
. 2007-11-17 00:49:58.750 Initialised HMAC-SHA1 server->client MAC algorithm
! 2007-11-17 00:49:58.843 Using username "blazej".
. 2007-11-17 00:49:58.890 Session password prompt (blazej@******'s password: )
. 2007-11-17 00:49:58.890 Using stored password.
. 2007-11-17 00:49:58.890 Sent password
. 2007-11-17 00:49:58.937 Access granted
. 2007-11-17 00:49:58.953 Opened channel for session
. 2007-11-17 00:49:59.000 Started a shell/command
. 2007-11-17 00:49:59.000 --------------------------------------------------------------------------
. 2007-11-17 00:49:59.000 Using SCP protocol.
. 2007-11-17 00:49:59.000 Doing startup conversation with host.
. 2007-11-17 00:49:59.000 Skipping host startup message (if any).
> 2007-11-17 00:49:59.000 echo "WinSCP: this is end-of-file:0"
< 2007-11-17 00:49:59.109 WinSCP: this is end-of-file:0
. 2007-11-17 00:49:59.109 Detecting variable containing return code of last command.
. 2007-11-17 00:49:59.109 Trying "$status".
> 2007-11-17 00:49:59.109 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2007-11-17 00:49:59.640 WinSCP: this is end-of-file:0
. 2007-11-17 00:49:59.640 Trying "$?".
> 2007-11-17 00:49:59.640 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2007-11-17 00:49:59.734 0
< 2007-11-17 00:49:59.734 WinSCP: this is end-of-file:0
. 2007-11-17 00:49:59.734 Return code variable "$?" selected.
. 2007-11-17 00:49:59.734 Clearing all aliases.
> 2007-11-17 00:49:59.734 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:49:59.828 -bash: line 4: unalias: echo: not found
< 2007-11-17 00:49:59.828 WinSCP: this is end-of-file:1
> 2007-11-17 00:49:59.828 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:49:59.937 -bash: line 5: unalias: pwd: not found
< 2007-11-17 00:49:59.937 WinSCP: this is end-of-file:1
> 2007-11-17 00:49:59.937 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.031 -bash: line 6: unalias: cd: not found
< 2007-11-17 00:50:00.031 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.031 unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.125 -bash: line 7: unalias: ls: not found
< 2007-11-17 00:50:00.125 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.125 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.234 -bash: line 8: unalias: groups: not found
< 2007-11-17 00:50:00.234 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.234 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.328 -bash: line 9: unalias: scp: not found
< 2007-11-17 00:50:00.328 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.328 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.421 -bash: line 10: unalias: rm: not found
< 2007-11-17 00:50:00.421 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.421 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.515 -bash: line 11: unalias: mv: not found
< 2007-11-17 00:50:00.515 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.515 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.609 -bash: line 12: unalias: mkdir: not found
< 2007-11-17 00:50:00.609 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.609 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.703 -bash: line 13: unalias: chmod: not found
< 2007-11-17 00:50:00.703 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.703 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.812 -bash: line 14: unalias: chgrp: not found
< 2007-11-17 00:50:00.812 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.812 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:00.906 -bash: line 15: unalias: chown: not found
< 2007-11-17 00:50:00.906 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:00.906 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:01.000 -bash: line 16: unalias: unset: not found
< 2007-11-17 00:50:01.000 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:01.000 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:01.078 -bash: line 17: unalias: unalias: not found
< 2007-11-17 00:50:01.078 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:01.078 unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:01.171 -bash: line 18: unalias: alias: not found
< 2007-11-17 00:50:01.171 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:01.171 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:01.250 -bash: line 19: unalias: ln: not found
< 2007-11-17 00:50:01.250 WinSCP: this is end-of-file:1
> 2007-11-17 00:50:01.250 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
! 2007-11-17 00:50:01.359 -bash: line 20: unalias: cp: not found
< 2007-11-17 00:50:01.359 WinSCP: this is end-of-file:1
. 2007-11-17 00:50:01.359 Clearing national user variables.
> 2007-11-17 00:50:01.359 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.453 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.453 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.562 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.562 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.640 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.640 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.734 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.734 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.828 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.828 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2007-11-17 00:50:01.921 WinSCP: this is end-of-file:0
> 2007-11-17 00:50:01.921 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
. 2007-11-17 00:50:16.921 Waiting for data timed out, asking user what to do.
. 2007-11-17 00:50:16.921 Asking user:
. 2007-11-17 00:50:16.921 Host has not answered for 15 seconds.
. 2007-11-17 00:50:16.921
. 2007-11-17 00:50:16.921 Wait for another 15 seconds? ()
. 2007-11-17 00:50:19.437 Attempt to close connection due to fatal exception:
* 2007-11-17 00:50:19.437 Terminated by user.
. 2007-11-17 00:50:19.437 Closing connection.
* 2007-11-17 00:50:19.453 (ESshFatal) Terminated by user.
* 2007-11-17 00:50:19.453 Error clearing national user variables.
//używaj tagów code. ruun
[ Dodano: 2007-11-20, 10:41 ]
Ok już sobie poradziłem zainstalowałem nowszą wersję pozdrawiam