You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2022/12/22 20:27:00 UTC
[jira] [Comment Edited] (SSHD-1317) Finding default shell and its escape, quote characters
[ https://issues.apache.org/jira/browse/SSHD-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651414#comment-17651414 ]
Thomas Wolf edited comment on SSHD-1317 at 12/22/22 8:26 PM:
-------------------------------------------------------------
{quote}is it possible to find the followings by SSHD ?{quote}
None that I know of. Perhaps examine the first prompt, and/or execute a first command that tries to figure it out?
was (Author: wolft):
{quote}is it possible to find the followings by SSHD ?\{quote}
None that I know of. Perhaps examine the first prompt, and/or execute a first command that tries to figure it out?
> Finding default shell and its escape, quote characters
> ------------------------------------------------------
>
> Key: SSHD-1317
> URL: https://issues.apache.org/jira/browse/SSHD-1317
> Project: MINA SSHD
> Issue Type: Question
> Reporter: dgü
> Priority: Major
>
> Hello!
> I execute remote commands by exec channel. Arguments of the commands may include shell ({_}sh{_},{_}cmd{_},...) special characters(ie: _^_ for {_}cmd{_}). These special characters may work different on different shells. So, I must escape or quote them.
> is it possible to find the followings by SSHD ?
> * Default shell of SSH server
> * Escape character of shell
> * Quote character of shell
> Thanks in advance!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org