WinSCP error while connecting to root
Stephan Hendl
Stephan.Hendl at lds.brandenburg.de
Fri Mar 30 22:47:01 EST 2001
Hi folks,
I tried to use WinSCP (http://winscp.vse.cz/eng/) for a ftp like scp-GUI for Windows in order to connect to a HP-UX machine running 11.0 and openssh-2.5.1p2. The problem is that I can connect to any user I want _except_ root! When I connect to root, then the command "echo $status" (this is the way how WinSCP detects the user shell) results in a "logout root". The writer of the code asked me for a proposal but unfortunately I cannot help him. Do you have any ideas?
Thanks and a nice weekend
Stephan
Please find enclosed the logfile. At the bottom there is the logout-line.
---------
30.03.2001 10:57:19 init_winsock() OK.
30.03.2001 10:57:20 ssh_init() OK.
30.03.2001 10:57:20 hp-www.ldspdm.ldsbb.lvnbb.de
30.03.2001 10:57:20 MD5Init() OK.
30.03.2001 10:57:20 VerifyHostKey() OK.
30.03.2001 10:57:20 s_wrpkt_start()
30.03.2001 10:57:20 s_wrpkt()
30.03.2001 10:57:20 get_packet() 1
30.03.2001 10:57:20 get_packet() 2
30.03.2001 10:57:20 get_packet() 3
30.03.2001 10:57:20 ssh_exec_shell(): s_wrpkt_start
30.03.2001 10:57:20 ssh_exec_shell(): s_wrpkt
30.03.2001 10:57:20 FormShow() Start
30.03.2001 10:57:20 NahratIkonky() OK
30.03.2001 10:57:20 GetCurrentDir() OK
30.03.2001 10:57:20 send_command():
30.03.2001 10:57:20 echo ""
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1983-1997 Hewlett-Packard Co., All Rights Reserved.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1980, 1984, 1986 Novell, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1986-1992 Sun Microsystems, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1989-1993 The Open Software Foundation, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1986 Digital Equipment Corp.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1990 Motorola, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1990, 1991, 1992 Cornell University
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1989-1991 The University of Maryland
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1988 Carnegie Mellon University
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1991-1997 Mentat, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1996 Morning Star Technologies, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1996 Progressive Systems, Inc.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 (c)Copyright 1997 Isogon Corporation
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 RESTRICTED RIGHTS LEGEND
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Use, duplication, or disclosure by the U.S. Government is subject to
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Technical Data and Computer Software clause in DFARS 252.227-7013.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Hewlett-Packard Company
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 3000 Hanover Street
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Palo Alto, CA 94304 U.S.A.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Rights for non-DOD U.S. Government Departments and Agencies are as set
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 forth in FAR 52.227-19(c)(1,2).
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 You have mail.
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 Value of TERM has been set to "".
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 WARNING: YOU ARE SUPERUSER !!
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 WinSCP: this is end-of-file: 0
30.03.2001 10:57:20 SkipStartupMessage() OK
30.03.2001 10:57:20 send_command():
30.03.2001 10:57:20 echo $status
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20 logout root
30.03.2001 10:57:20 _ssh_read_line():
30.03.2001 10:57:20
.
.
.
--
LDS Brandenburg
Dr. Stephan Hendl
fon: +49-(0)331-39 471
fax: +49-(0)331-27548 1187
EMail: stephan.hendl at lds.brandenburg.de
More information about the openssh-unix-dev
mailing list