ďťż
 
 
   problem ssh
 
 

Tematy

 
    
 

 

 

 

problem ssh





p4l4din - 17-11-2007 00:00
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:

. 2007-11-16 23:30:32.343 --------------------------------------------------------------------------
. 2007-11-16 23:30:32.343 WinSCP Version 4.0.5 (Build 354) (OS 5.1.2600 Dodatek Service Pack 2)
. 2007-11-16 23:30:32.343 Login time: 16 listopad 2007 23:30:32
. 2007-11-16 23:30:32.343 --------------------------------------------------------------------------
. 2007-11-16 23:30:32.343 Session name: root@*********
. 2007-11-16 23:30:32.343 Host name: ********** (Port: 22)
. 2007-11-16 23:30:32.343 User name: root (Password: Yes, Key file: No)
. 2007-11-16 23:30:32.343 Tunnel: No
. 2007-11-16 23:30:32.343 Transfer Protocol: SCP
. 2007-11-16 23:30:32.343 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2007-11-16 23:30:32.343 Proxy: none
. 2007-11-16 23:30:32.343 SSH protocol version: 2; Compression: No
. 2007-11-16 23:30:32.343 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2007-11-16 23:30:32.343 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2007-11-16 23:30:32.343 SSH Bugs: -,-,-,-,-,-,-,-
. 2007-11-16 23:30:32.343 SFTP Bugs: -,-,-
. 2007-11-16 23:30:32.343 Return code variable: Autodetect; Lookup user groups: Yes
. 2007-11-16 23:30:32.343 Shell: default, EOL: 0
. 2007-11-16 23:30:32.343 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2007-11-16 23:30:32.343 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2007-11-16 23:30:32.343 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2007-11-16 23:30:32.343 Cache directory changes: Yes, Permanent: Yes
. 2007-11-16 23:30:32.343 DST mode: 1
. 2007-11-16 23:30:32.343 --------------------------------------------------------------------------
. 2007-11-16 23:30:32.390 Looking up host "**********"
. 2007-11-16 23:30:32.390 Connecting to ********* port 22
. 2007-11-16 23:30:32.453 Server version: SSH-2.0-OpenSSH_4.2
. 2007-11-16 23:30:32.453 We claim version: SSH-2.0-WinSCP_release_4.0.5
. 2007-11-16 23:30:32.453 Using SSH protocol version 2
. 2007-11-16 23:30:32.484 Doing Diffie-Hellman group exchange
. 2007-11-16 23:30:32.625 Doing Diffie-Hellman key exchange
. 2007-11-16 23:30:33.046 Host key fingerprint is:
. 2007-11-16 23:30:33.046 ssh-rsa 2048 e1:cf:27:27:f5:cb:cf:96:1e:83:5a:e0:e4:4d:86:95
. 2007-11-16 23:30:33.046 Initialised AES-256 client->server encryption
. 2007-11-16 23:30:33.046 Initialised HMAC-SHA1 client->server MAC algorithm
. 2007-11-16 23:30:33.046 Initialised AES-256 server->client encryption
. 2007-11-16 23:30:33.046 Initialised HMAC-SHA1 server->client MAC algorithm
! 2007-11-16 23:30:33.093 Using username "root".
. 2007-11-16 23:30:33.125 Session password prompt (root@*******'s password: )
. 2007-11-16 23:30:33.125 Using stored password.
. 2007-11-16 23:30:33.125 Sent password
. 2007-11-16 23:30:35.515 Server unexpectedly closed network connection
* 2007-11-16 23:30:35.546 (ESshFatal) Server unexpectedly closed network connection.
* 2007-11-16 23:30:35.546 Authentication log (see session log for details):
* 2007-11-16 23:30:35.546 Using username "root".
* 2007-11-16 23:30:35.546
* 2007-11-16 23:30:35.546 Authentication failed. Prace z systemami linux zacząłem od niedawna i był bym wdzięczny za pomoc. Z góry dziękuje pozdrawiam



Rad - 17-11-2007 00:31
A działa jak się logujesz na zwykłego usera, nie roota?



p4l4din - 17-11-2007 00:49
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
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis