Re: Permission denied with "OpenSSH for Windows"

From: Mike (spamsink_at_redterra.net)
Date: 06/29/04


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



Relevant Pages

  • Re: OpenSSH, Telnet, Windows Authentication and double-hops
    ... deployment on a Windows network. ... Does this mean that you are setting SSH port forwarding ... does not provide the other side with either a Kerberos ticket, ... We're focusing on the OpenSSH for Windows distribution. ...
    (comp.security.ssh)
  • Re: two SSH compatibility scenarios: can it work?
    ... We are required to use SSH to log into the Engineering lab machines. ... > server software displays this header upon telnet connection to port 22. ... I still use Windows on my notebook for application compatibility. ... > running OpenSSH 3.4p1. ...
    (comp.security.ssh)
  • RE: OpenSSH 3.8 resource temporarily unavailable error on windows 2k
    ... OpenSSH 3.8 'resource temporarily unavailable' error on windows 2k ... recently often receive client's complaint that they cannot connect server. ... you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately ...
    (SSH)
  • RE: SFTP between Linux and Windows
    ... OpenSSH scp to SSH Tectia Server does not work ... SFTP between Linux and Windows ...
    (SSH)
  • Re: Free SSH daemons/services for Windows?
    ... I use the default telnet services that comes with Windows XP ... Cygwin is a framework for porting unix goodies (like openssh) to the ...
    (comp.security.ssh)