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

Make kyrat complaint to ssh when using nested quotes #18

Open
fsquillace opened this issue Jan 14, 2017 · 2 comments
Open

Make kyrat complaint to ssh when using nested quotes #18

fsquillace opened this issue Jan 14, 2017 · 2 comments
Labels

Comments

@fsquillace
Copy link
Owner

fsquillace commented Jan 14, 2017

Kyrat is almost complaint with ssh the problem comes with nested quotes.

This two commands differs:

ssh localhost -- bash -c \"ls -l\"
kyrat localhost -- bash -c \"ls -l\"

Also this:

ssh localhost -- bash -c \"bash -c \\\"ls -l\\\"\"
kyrat localhost -- bash -c \"bash -c \\\"ls -l\\\"\"
@fsquillace fsquillace added the bug label Jan 14, 2017
@ezbik
Copy link

ezbik commented Jan 30, 2019

BTW your competitor sshrc allows remote commands

@fsquillace
Copy link
Owner Author

It is possible to specify remote commands in kyrat. The problem come when using multiple nested quotes as part of the remote command.

If I remember correctly sshrc suffers about the same problem.

@fsquillace fsquillace changed the title Make kyrat complaint to ssh when specifying a remote command Make kyrat complaint to ssh when using nested quotes Feb 2, 2019
fsquillace added a commit that referenced this issue Feb 2, 2019
This does not fix the Issue #18 but will simplify the structure of the
remote command by removing a level of quotes.
fsquillace added a commit that referenced this issue Feb 2, 2019
This does not fix the Issue #18 but will simplify the structure of the
remote command by removing a level of quotes.
fsquillace added a commit that referenced this issue Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants