Re: How to specify user home directory in /etc/passwd
"Jon Spriggs" <[email protected]> Wed, 17 Oct 2007 11:39:09 +0100
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
Try "/cygdrive/e/documents and settings/username" On 17/10/2007, Mick Ken <[email protected]> wrote: > > Hi Friends, > I am trying OpenSSH for windows for the first time and i have a > question regarding the User's home. > Since my userhome is: E:/Document and Settings/<my_username> > > when I place this in /etc/passwd file.....i get an error message.And i > understand, I cannot put that in the /etc/passwd because of the ":" > ,but then how to point to the userhome directory in /etc/passwd. I > tried relative path but that did not worked either. > > Here is what i get,when i try to connect from Putty using my private key: > > E:\OpenSSH\usr\sbin>sshd -d > debug1: sshd version OpenSSH_3.8.1p1 > debug1: read PEM private key done: type RSA > debug1: private host key: #0 type 1 RSA > debug1: read PEM private key done: type DSA > debug1: private host key: #1 type 2 DSA > debug1: Bind to port 22 on 0.0.0.0. > Server listening on 0.0.0.0 port 22. > debug1: Server will not fork when running in debugging mode. > Connection from <my_ip> port 3131 > debug1: Client protocol version 2.0; client software version > PuTTY_Release_0.60 > debug1: no match: PuTTY_Release_0.60 > debug1: Enabling compatibility mode for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 > debug1: list_hostkey_types: ssh-rsa,ssh-dss > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug1: kex: client->server aes256-ctr hmac-sha1 none > debug1: kex: server->client aes256-ctr hmac-sha1 none > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received > debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT > debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: KEX done > debug1: userauth-request for user <my_username> service ssh-connection > method none > debug1: attempt 0 failures 0 > User <my_username> not allowed because shell \\Documents and > Settings\\<my_username> is not > executable > input_userauth_request: illegal user <my_username> > debug1: userauth_banner: sent > Failed none for illegal user <my_username> from <my_ip> port 3131 ssh2 > debug1: userauth-request for user <my_username> service ssh-connection > method publick > y > debug1: attempt 1 failures 1 > Failed publickey for illegal user <my_username> from <my_ip> port 3131 > ssh2 > debug1: userauth-request for user <my_username> service > ssh-connection method keyboar > -interactive > debug1: attempt 2 failures 2 > debug1: keyboard-interactive devs > debug1: auth2_challenge: user=<my_username> devs= > debug1: kbdint_alloc: devices '' > Failed keyboard-interactive for illegal user <my_username> from <my_ip> > port 313 > ssh2 > > Please help friends. > Thanks > > -- > List Info: http://erdelynet.com/ssh-l/ > List Archives: http://erdelynet.com/archive/ssh-l/ > To Unsubscribe: Mail mailto:[email protected] > > > -- Jon Spriggs LPIC-1 Certified hackerkey .com://v4sw6BHUhw5ln3pr5$ck4ma3u7L$w5TUX$m5l7ADFKLRSU$i852Ne5t5BGRSb8AGKMOPTen6a2Xs0Ir5p- 2.88/0g5CMT