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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -