Re: Permission denied with "OpenSSH for Windows"
From: Mike (spamsink_at_redterra.net)
Date: 06/29/04
- Next message: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Previous message: Owen Dunn: "Re: putty request."
- In reply to: Jens Klüsener: "Permission denied with "OpenSSH for Windows""
- Next in thread: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Reply: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Jun 2004 21:43:08 +0800
Jens Klüsener wrote:
> Hi
>
>
> I just reinstalled OpenSSH for Windows on my WinXP Prof. What I exactly
> do is:
>
> Use the Windows Installer
> type mkgroup -l >> ..\etc\group
> type mkpasswd -l -u Test >> ..\etc\passwd
> (The uSer Test already exist on the XP pc)
>
> Now I want to connect from a Linux pc to the XP sshd Server.
>
> LINUX-SERVER:/# ssh -l Test 192.168.0.2
>
> ...
>
> Test@192.168.0.2's password:
> Last login: Mon Jun 28 09:09:48 2004 from linux-server
> /bin/switch: Permission denied
> Connection to 192.168.0.2 closed.
> LINUX-SERVER:/#
>
> I also tried /bin/sh. the same.
> I want to stress that I use OpenSSh under WindowsXP.
>
> What else can I do?
>
> Many Thanks
>
> Jens
I am guessing (by the use of switch.exe) that you are using the Network
Simplicity re-package of the Cygwin OpenSSH server? If this is the
case, I have two suggestions
1. The Network Simplicity project was abandoned long ago
(http://www.networksimplicity.com/openssh/) at version 3.4. There has
been many security fixes since then. Update to the latest cygwin
version. Read the documentation installed with the package and it will
tell you to run a command like "ssh_config_server" (I cannot remember
the exact command as I have not used Cygwin OpenSSH for some time). Use
this command, and you should be right.
2. Your problem may be related to the absence of the SYSTEM user in
/etc/passwd. Try "mkpasswd -l -u system >> ..\etc\passwd"
Regards,
Mike
- Next message: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Previous message: Owen Dunn: "Re: putty request."
- In reply to: Jens Klüsener: "Permission denied with "OpenSSH for Windows""
- Next in thread: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Reply: Carlos N: "Re: Permission denied with "OpenSSH for Windows""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|