Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

I do not know what is the problem. Just try to turn off 'Clear national variables' on SCP tab of login dialog or use SFTP instead.
Akito

Hi there, here is the log file (I edited out the host and user)

. --------------------------------------------------------------------------
. WinSCP Version 3.1.0 (Build 165)
. Login time: Sunday, July 20, 2003 8:21:47 PM
. --------------------------------------------------------------------------
. Session name: xxxxx@xxxxxxx.xxx
. Host name: xxxxx.xxx (Port: 22)
. User name: xxxxxx (Password: Yes, Key file: No)
. Transfer Protocol: SCP
. SSH protocol version: 2; 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, Cache: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "xxxxxxx.xxx"
. Connecting to 64.xxx.xxx.252 port 22
. Server version: SSH-1.99-OpenSSH_3.5p1
. We claim version: SSH-2.0-PuTTY-Local: Jul 14 2003 13:14:02
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Asking user:
. The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's key fingerprint is: ssh-rsa 1024 f5:b7:5d:15:98:cc:e6:5b:82:17:3f:fd:e9:a5:4c:77
.
. If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Cancel.
.
. Continue connecting and add host key to the cache? ()
. Host key fingerprint is:
. ssh-rsa 1024 f5:b7:5d:15:98:cc:e6:5b:82:17:3f:fd:e9:a5:4c:77
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "xxxxxx".
. Keyboard-interactive authentication refused
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SCP protocol
. Doing startup conversation with host.
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
! TERM environment variable not set.
< Warning: no access to tty (Bad file descriptor).
< Thus no job control in this shell.
< 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"
< 0
< WinSCP: this is end-of-file:0
. Return code variable "$status" selected.
. Clearing all aliases.
> unalias "echo" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "pwd" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "cd" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "ls" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "groups" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "scp" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "rm" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "mv" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "mkdir" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "chmod" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "chgrp" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "chown" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "unset" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "unalias" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "alias" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "ln" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unalias "%s" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
. Clearing national user variables.
> unset "LANG" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is end-of-file:0
> unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$status"
* (ESshFatal) Error clearing national user variables.
* Connection has been unexpectedly closed.
martin

Re: Error Clearing National User Variables

Please, post a log file.
Akito

Error Clearing National User Variables

I get this error: Error Clearing National User Variables

Along with: Connection has been unexpectedly closed.

This happens when I try to login to my server. I honestly have no clue what I'm doing.