Topic "Cannot login but see in log that it was successfull."

Author Message
[View user's profile]

Joined: 2003-01-14
Posts: 2
Here is the copy of my log...
It logs in successfully and then immediatly logs me off..never gives me a success window or files to view ect.. I have tried changing the default shell to /bin/bash.

WinSCP Version 2.1.0 (Build 119)
. Login time: Tuesday, January 14, 2003 10:04:57 AM
. --------------------------------------------------------------------------
. Session name:
. Host name: (Port: 22)
. User name: hbennett (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 ""
. Connecting to port 22
. Server version: SSH-2.0-OpenSSH_3.4p1
. We claim version: SSH-2.0-PuTTY-Local: Jan 12 2003 19:45:16
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 a0:16:8b:dc:ab:0b:9e:37:6b:16:34:36:fd:85:73:e7
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
. Keyboard-interactive authentication refused
. Sent password
! Access denied
. Access denied
. Keyboard-interactive authentication refused
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Doing startup conversation with host (shell).
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
< Microsoft Windows 2000 [Version 5.00.2195]

< (C) Copyright 1985-2000 Microsoft Corp.


[b]< (DAWGNUTZ) C:\Program Files\NetworkSimplicity\ssh>"WinSCP: this is end-of-file:0"[/b]

* (ECommand) Error skipping startup message.
. Closing connection.

Thanks... Much Appricated.
Haddon Bennett[b][/b]
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
WinSCP requires UNIX-style shell. Author of OpenSSH for Windows used to have description, how to setup WinSCP, but as the project is closed, it is not accessible any more.

I managed to get it running with the following settings:
- Shell: /bin/sh
- EOL characters: CR/LF [13/10] (Windows)
- Do not "Lookup user groups"

Just set up:

shell = /bin/sh
uncheck "lookup groups"
choose windows carriage returns

And map the default remote directory to one of your cygdrive mounts, e.g. /cygdrive/C
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
See documentation for details about "Error skipping startup message" error.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License