Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | SSH wont execute commands with bash |
|---|---|
| Date: | Tue, 14 Nov 2006 05:02:55 -0800 (PST) |
Hi, I have sshd running on a solaris system. Due to various reasons my user accounts default shell is csh, but in my .cshrc profile I execute the bash shell if it exists on the system. It looks something like this ------------------------------------ if [ -e /usr/bin/bash ] exec /usr/bin/bash exit fi ------------------------------------ This seems to cause problems when trying to execute remote commands with SSH. When running: $ ssh user1@hostname I can log into the remote mahcine using ssh. When running $ ssh user1@hostname ls /tmp the command "ls /tmp" does not get executed, the session just seems to hang. If I remove the call to bash in the .cshrc script everything seems to work ok. Does anyone know why this is, or know a way around it? -- View this message in context: http://www.nabble.com/SSH-wont-execute-commands-with-bash-tf2629316.html#a7337144 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: OpenSSH and ftp tunnel, MARTIN Benoni |
|---|---|
| Next by Date: | Re: Scp & sftp with no shell access or restricted access, Thiago LPS |
| Previous by Thread: | OpenSSH and ftp tunnel, Christopher Reagoso |
| Next by Thread: | Re: SSH wont execute commands with bash, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |