This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/bin/bash operation not permitted after successful ssh login


I am not able to use bash after I ssh to my cygwin ssh server and am
looking for some assistance.

I have installed the openssh package and run both
- ssh-host-config (with user separation, user sshd_server)
- ssh-user-config

I am able to use the cygwin shell as MyUser and I am able to ssh to
sshd_server@localhost with password authentication.
$ ssh -v sshd_server@localhost

When I try to login with MyUser@localhost from the cygwin shell, I get
the following error:

[snip]
debug1: Next authentication method: password
MyUser@localhost's password:
debug1: Authentication succeeded (password).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
Last login: Wed Jan 23 20:10:32 2013 from 127.0.0.1
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
/bin/bash: Operation not permitted
debug1: channel 0: free: client-session, nchannels 1
Connection to localhost closed.
Transferred: sent 2080, received 1768 bytes, in 0.4 seconds
Bytes per second: sent 5346.7, received 4544.7
debug1: Exit status 1


I ran

$ source .bashrc
$ source .bash_profile
$ source .profile

and saw no errors from /bin/bash.  A similar help request was found on
the mailing list but I didn't see that it would resolve my issue.

Thanks,
Jed

Attachment: cygcheck.out
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]