Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipython parallel: scp failure. #3411

Closed
Vash2593 opened this issue Jun 10, 2013 · 5 comments · Fixed by #4977
Closed

ipython parallel: scp failure. #3411

Vash2593 opened this issue Jun 10, 2013 · 5 comments · Fixed by #4977
Assignees
Labels
Milestone

Comments

@Vash2593
Copy link

Instead of throwing:

Command '['scp', u'/home/vash/.config/ipython/profile_ssh/security/ipcontroller-client.json',     u'vash@host:.config/ipython/profile_ssh/security/ipcontroller-client.json']'

Should try:

ssh user@host mkdir -p -- ".config/ipython/profile_ssh/security"
@minrk
Copy link
Member

minrk commented Jun 13, 2013

indeed it should. Can I ask what the -- is for?

@ghost ghost assigned minrk Jun 13, 2013
@Vash2593
Copy link
Author

It's the limit between options/arguments and arguments list. After a double dash, ssh (and others commands) will not consider the arguments as possible options.

If you have the directory -foo on the current directory, and you want to display this directory you need to make:

ls -- -foo

@minrk
Copy link
Member

minrk commented Jun 14, 2013

I knew it prevented option parsing, I hadn't thought of directory names being problematic there. Thanks, I should have a PR for you before too long.

minrk added a commit to minrk/ipython that referenced this issue Feb 1, 2014
@minrk
Copy link
Member

minrk commented Feb 1, 2014

8 months is not exactly "before long", but I finally remembered to do this one (in #4977).

minrk added a commit to minrk/ipython that referenced this issue Feb 1, 2014
@Vash2593
Copy link
Author

Great, thanks for the work.

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants