Displaying 3 results from an estimated 3 matches for "interactive_shell".
2006 Oct 24
1
python-interactive for CentOS/EL 4
...ortError: No module named interactive
The import causing the problem is...
import paramiko
import interactive
And the code snippet where interactive is used is...
chan = t.open_session()
chan.get_pty()
chan.invoke_shell()
print '*** Here we go!'
print
interactive.interactive_shell(chan)
chan.close()
t.close()
I've Googled a bit but "python", "module" and "interactive" generally
return about a million results all relating to alternative
interpreter/CLIs.
This is all vanilla setup other than the RPMForge bits.
[wmcdonald at willspc...
2011 Jun 30
4
sshd and .bashrc
...bashrc file was no
longer being sourced when he ran remote commands via
a non-interactive single-command connection. He was
right. The problem stemmed from the fact that bash
contains the following in run_startup_files(), which
gets called to determine which dotfiles (if any) to
source ...
if (interactive_shell == 0 && no_rc == 0 && login_shell == 0 &&
act_like_sh == 0 && command_execution_string)
{
#ifdef SSH_SOURCE_BASHRC
run_by_ssh = (find_variable ("SSH_CLIENT") != (SHELL_VAR *)0) ||
(find_variable ("SSH2_CLIENT") != (SHELL_VAR *...
2000 Dec 06
8
openssh-SNAP-20001207 scp "Bad file descriptor" sort-of work-around
Everything seems to work, though I still have trouble with scp. The
behaviour is not protocol dependent - acts the same with either. (Using
RedHat 6.2)
When I scp <file> <host>:<dir>, bash is invoked as a login shell on the
server side host - this doesn't seem right. With my /etc/profile, I get
Dec 6 15:06:20 amethyst sshd[3027]: error: select: Bad file descriptor
in