Re: Permission denied with "OpenSSH for Windows"

From: Tonij (tonij67_at_hotmail.com)
Date: 06/28/04


Date: 28 Jun 2004 10:17:52 -0700

Jens Klüsener <jens@kluesener.info> wrote in message news:<2k9velF19qjmaU1@uni-berlin.de>...
> 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

Can you SSH from the windows box? Try:

ssh localhost

...as that user, that way you can rule out any network issues.

Also, if /bin/switch is getting a permission denied, what are the
permissions on the home directory of the user you are trying to
connect as?

SSH is very picky about permissions, at least in the Unix world. Not
too sure about how it is handled in Windows.



Relevant Pages

  • Permission denied with "OpenSSH for Windows"
    ... I just reinstalled OpenSSH for Windows on my WinXP Prof. ... (The uSer Test already exist on the XP pc) ...
    (comp.security.ssh)
  • Re: OpenSSH, Telnet, Windows Authentication and double-hops
    ... >> ssh -L) ... JM> in seperate DOS console windows in this order: ... I'm using the 3.8 version of OpenSSH. ... >> Kerberos ticket, or your password in order to acquire one. ...
    (comp.security.ssh)
  • RE: What server hardening are you doing these days?
    ... permissions on their data, and Microsoft encourages ISVs to minimize ... I've been able to discuss ACLs and other security issues in Windows with ... Control or DAC (which is what you're referring to by the "stupid ...
    (Focus-Microsoft)
  • Re: Unnown process... 5eplorer.exe
    ... do not remove the cause (a "super"-hidden .dll program) but only remove ... symptom files and registry settings. ... It has all permissions but 'copy' denied to everyone, ... then by using the Windows XP Recovery Console. ...
    (microsoft.public.win2000.general)
  • Re: OpenSSH, Telnet, Windows Authentication and double-hops
    ... >> ssh -L) ... JM> in seperate DOS console windows in this order: ... >> Kerberos ticket, or your password in order to acquire one. ... JM> We're focusing on the OpenSSH for Windows distribution. ...
    (comp.security.ssh)