Topic "Authentication problems"

Author Message
bmather

Guest


I have set up serveral Suse9 machines with openssh using kerberos passwords and an afs home directory. I can ssh freely between the machines and to and from other linux machines.
WinSCP 2.3.0 can connect to the other linux and Unix systems but gives the following error with the Suse9 machines:

1st Message:

Command "groups"
failed with returncode 1 and error message
id: cannot find name for group ID 34122
idL cannot find name for group ID 38916

2nd Message

Error listing directory "/afs/ncsa.uiuc.edu/.u1/bmather"
Unexpected directory listing line "drwxr--r-- 27 bmather
root 6144 2004-04-30 13:19.".
Operation aborted

The Transfer screen then opens with the right panel blank. If I try to change directories on the right panel, I get a repeat of the second message.

If I log in with a user that does not use a kerberos password - the login is successful and all works.
Changing the home dirctory from afs to local does not change the behavior.

I would appreciate any insight.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
bmather wrote:
Command "groups"
failed with returncode 1 and error message
id: cannot find name for group ID 34122
idL cannot find name for group ID 38916

Turn off "Lookup user groups" on SCP tab of login dialog.
Quote:

Error listing directory "/afs/ncsa.uiuc.edu/.u1/bmather"
Unexpected directory listing line "drwxr--r-- 27 bmather
root 6144 2004-04-30 13:19.".

WinSCP does not support the "2004-04-30" format of the date. Try to use SFTP instead of SCP.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.
_________________
Martin Prikryl
Fosforo

Guest


this error seems like you are using an ssh jail

please copy the following binaries into the jail (and also library dependencies)

/usr/bin/ssh
/usr/bin/scp

then make sure to create the following devices under the jail:

mknod dev/tty c 5 0
mknod dev/urandom c 1 9

if something goes wrong, try executing scp -v origin destiny in the jail, scp will throw the error (like a missing /dev/? or file or group inside the ssh jail)
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License