martin wrote:
Any error message?
this is the only error's message :
Network error:Connection refused
log WinSCP2:
. --------------------------------------------------------------------------
. WinSCP Version 2.2.0 (Build 122)
. Login time: mardi 27 juin 2006 15:53:15
. --------------------------------------------------------------------------
. Session name: root@10.236.60.15
. Host name: 10.236.60.15 (Port: 22)
. User name: root (Password: Yes, Key file: No)
. SSH protocol version: 1; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 0 sec (0 = off); Timeout: 15 sec
. SSH Bugs: A,A,A,A,A,A,A,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No
. Clear aliases: Yes, Unset nat.vars: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "10.236.60.15"
. Connecting to 10.236.60.15 port 22
. Server version: SSH-1.99-OpenSSH_3.6.1p2
. We claim version: SSH-1.5-PuTTY-Local: Jan 26 2003 11:53:20
. Using SSH protocol version 1
. Received public keys
. Host key fingerprint is:
. 1024 8d:b6:f2:a4:f1:c0:99:c5:d5:0f:a9:f8:22:c1:35:81
. Encrypted session key
. AES not supported in SSH1, skipping
. Using Blowfish encryption
. Trying to enable encryption...
. Initialised Blowfish encryption
. Installing CRC compensation attack detector
. Successfully started encryption
. Sent username "root"
. Sending password with camouflage packets
. Sent password
. Authentication successful
. Started session
. --------------------------------------------------------------------------
. Doing startup conversation with host (shell).
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
< WinSCP: this is end-of-file:0
. Detecting variable containing return code of last command.
. Trying "$status".
> echo "$status" ; echo "WinSCP: this is end-of-file:0"
< WinSCP: this is end-of-file:0
. Trying "$?".
> echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 0
< WinSCP: this is end-of-file:0
. Return code variable "$?" selected.
. Looking up current user groups.
> groups ; echo "WinSCP: this is end-of-file:$?"
< root bin daemon sys adm disk wheel
< WinSCP: this is end-of-file:0
. Following groups found:
. root
. bin
. daemon
. sys
. adm
. disk
. wheel
. Clearing all aliases.
> unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 5: unalias: echo: not found
< WinSCP: this is end-of-file:1
> unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 6: unalias: pwd: not found
< WinSCP: this is end-of-file:1
> unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 7: unalias: cd: not found
< WinSCP: this is end-of-file:1
> unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 8: unalias: ls: not found
< WinSCP: this is end-of-file:1
> unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 9: unalias: groups: not found
< WinSCP: this is end-of-file:1
> unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 10: unalias: scp: not found
< WinSCP: this is end-of-file:1
> unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 13: unalias: mkdir: not found
< WinSCP: this is end-of-file:1
> unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 14: unalias: chmod: not found
< WinSCP: this is end-of-file:1
> unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 15: unalias: chgrp: not found
< WinSCP: this is end-of-file:1
> unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 16: unalias: chown: not found
< WinSCP: this is end-of-file:1
> unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 17: unalias: unset: not found
< WinSCP: this is end-of-file:1
> unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 18: unalias: unalias: not found
< WinSCP: this is end-of-file:1
> unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 19: unalias: alias: not found
< WinSCP: this is end-of-file:1
> unalias "%s" ; echo "WinSCP: this is end-of-file:$?"
! -bash: line 20: unalias: %s: not found
< WinSCP: this is end-of-file:1
. Clearing national user variables.
> unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
. Getting current directory name.
> pwd ; echo "WinSCP: this is end-of-file:$?"
< /root
< WinSCP: this is end-of-file:0
. Listing current directory.
> ls -la ; echo "WinSCP: this is end-of-file:$?"
< total 272
< drwx------ 22 root root 4096 Jun 27 09:51 .
< drwxr-xr-x 22 root root 4096 Jun 26 10:51 ..
< -rw------- 1 root root 1138 Jun 26 10:52 .ICEauthority
< drwx------ 2 root root 4096 Jun 14 10:56 .Trash
< -rw------- 1 root root 335 Jun 26 10:52 .Xauthority
< -rw-r--r-- 1 root root 1126 Aug 23 1995 .Xresources
< -rw------- 1 root root 11578 Jun 27 11:07 .bash_history
< -rw-r--r-- 1 root root 24 Jun 10 2000 .bash_logout
< -rw-r--r-- 1 root root 233 Apr 27 11:31 .bash_profile
< -rw-r--r-- 1 root root 187 Apr 27 11:31 .bashrc
< -rw-r--r-- 1 root root 210 Jun 10 2000 .cshrc
< -rw------- 1 root root 16 Mar 30 14:51 .esd_auth
< -rw------- 1 root root 8 Apr 4 13:25 .fetchmail.pid
< -rwx------ 1 root root 314 May 11 09:11 .fetchmailrc
< -rw-r--r-- 1 root root 15994 Jun 27 09:51 .fonts.cache-1
< drwx------ 6 root root 4096 Jun 26 10:52 .gconf
< drwx------ 3 root root 4096 Jun 27 09:54 .gconfd
< drwx------ 5 root root 4096 Mar 30 12:34 .gnome
< drwxr-xr-x 2 root root 4096 Jun 20 09:48 .gnome-desktop
< drwxr-xr-x 7 root root 4096 Jun 26 10:50 .gnome2
< drwx------ 2 root root 4096 Mar 30 12:34 .gnome2_private
< drwx------ 2 root root 4096 May 22 11:50 .gnupg
< drwxr-xr-x 2 root root 4096 Mar 30 11:33 .gstreamer
< -rw-r--r-- 1 root root 120 Aug 20 2003 .gtkrc
< -rw-r--r-- 1 root root 130 Mar 30 12:34 .gtkrc-1.2-gnome2
< drwx------ 3 root root 4096 May 11 17:14 .kde
< drwxr-xr-x 2 root root 4096 Apr 4 16:11 .mcop
< drwx------ 3 root root 4096 Mar 30 12:34 .metacity
< drwxr-xr-x 3 root root 4096 Mar 30 14:49 .mozilla
< drwxr-xr-x 3 root root 4096 Mar 30 12:34 .nautilus
< -rw-r--r-- 1 root root 55 Apr 19 17:09 .procmail
< -rw-r--r-- 1 root root 3275 May 11 08:50 .procmailrc
< -rw-r--r-- 1 root root 721 Apr 21 09:41 .procmailrc.old
< drwxr-xr-x 2 root root 4096 Apr 4 16:11 .qt
< -rw------- 1 root root 2730 Apr 11 13:23 .recently-used
< -rw------- 1 root root 551 Mar 30 12:34 .rhn-applet.conf
< -rw------- 1 root root 1024 Mar 30 13:36 .rnd
< -rw-r--r-- 1 root root 196 Jul 11 2000 .tcshrc
< -rw------- 1 root root 7422 Jun 26 10:50 .viminfo
< -rw------- 1 root root 925 Jun 27 09:51 .xsession-errors
< drwxrwxrwx 7 root root 4096 May 11 17:16 Mail
< drwxrwxrwx 5 root root 4096 Jun 27 15:25 Maildir
< drwxr-xr-x 2 root root 4096 May 10 12:56 Transfert
< -rw-r--r-- 1 root root 1578 Mar 30 12:19 anaconda-ks.cfg
< -rw-r--r-- 1 root root 844 Apr 26 11:23 config_fetchmail-via-webmin
< -rw-r--r-- 1 root root 2329 Apr 26 11:44 config_postfix-via-webmin
< -rw-r--r-- 1 root root 34761 Mar 30 12:15 install.log
< -rw-r--r-- 1 root root 4305 Mar 30 12:15 install.log.syslog
< -rwx--x--x 1 root root 925 May 3 13:10 lance-1.sh
< -rwx--x--x 1 root root 429 May 11 09:17 lance_msg.sh
< drwxr-xr-x 2 root root 4096 Apr 20 15:39 log
< drwxr-xr-x 2 root root 4096 Apr 19 14:37 mail
< -rw------- 1 root root 0 May 10 12:55 mbox
< -rwx--x--x 1 root root 74 May 26 08:54 sauv_log
< WinSCP: this is end-of-file:0
. Startup conversation with host (shell) finished.
====================================================================
log WinSCP3:
. --------------------------------------------------------------------------
. WinSCP Version 3.7.1 (Build 257) (OS 5.0.2195 Service Pack 2)
. Login time: mardi 27 juin 2006 15:48:04
. --------------------------------------------------------------------------
. Session name: root@10.236.60.15
. Host name: 10.236.60.15 (Port: 22)
. User name: root (Password: Yes, Key file: No)
. Transfer Protocol: SFTP (SCP)
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: -,-,-,-,-,-,-,-,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No, Cache: Yes
. Cache directory changes: Yes, Permanent: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "10.236.60.15"
. Connecting to 10.236.60.15 port 22
. Attempt to close connection due to fatal exception:
* Network error: Connection refused
. Closing connection.
* (ESshFatal) Network error: Connection refused
===============================================================
Thanks
Sorry for my english ...j'm french