python - How to ssh within iPython notebook? -
i'm attempting ssh within ipython notebook follows:
%%bash ssh myserver.something.com
however, receive following error:
pseudo-terminal not allocated because stdin not terminal.
how can ssh within ipython notebook?
use ssh -t
or ssh -tt
in order force pseudo-tty allocation if stdin not terminal.
Comments
Post a Comment