[ 
https://issues.apache.org/jira/browse/SSHD-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

saudade updated SSHD-1183:
--------------------------
    Description: 
h6. I a using the apache sshd ssh shell client app to execute windows commands 
in openssh for windows server.

https://github.com/apache/mina-sshd/blob/master/sshd-cli/src/test/java/org/apache/sshd/cli/client/ChannelExecMain.java
h6. I have observed a few things:
 # 
h6. when I execute a command
h6.  copy c:\users\atlantis\.ssh\id_rsa.pub c:\users\atlantis\id_rsa.pub & cd 
c:\users\atlantis
h6.  

the copy command executes perfectly but the cd command doesn't work.

 
 # when the below command is executed

          cd c:\users\atlantis & copy c:\users\atlantis\.ssh\id_rsa.pub  
c:\users\atlantis\id_rsa.pub

both commands get executed perfectly
h6. 
-----------------------------------------------------------------------------------------------------------------------------------------------

both these commands work perfectly when using the openssh client.

  was:
h6. I a using the ssh shell client app to execute windows commands in openssh 
for windows server.
h6. I have observed a few things:
 # 
h6. when I execute a command
h6.  copy c:\users\atlantis\.ssh\id_rsa.pub c:\users\atlantis\id_rsa.pub & cd 
c:\users\atlantis
h6.  
the copy command executes perfectly but the cd command doesn't work.

 
 # when the below command is executed

          cd c:\users\atlantis & copy c:\users\atlantis\.ssh\id_rsa.pub  
c:\users\atlantis\id_rsa.pub

both commands get executed perfectly
h6. 
-----------------------------------------------------------------------------------------------------------------------------------------------

both these commands work perfectly when using the openssh client.


> ssh shell fails to execute the right commands
> ---------------------------------------------
>
>                 Key: SSHD-1183
>                 URL: https://issues.apache.org/jira/browse/SSHD-1183
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>         Environment: windows enterprise edition 2019
> openssh server for windows
>            Reporter: saudade
>            Priority: Major
>
> h6. I a using the apache sshd ssh shell client app to execute windows 
> commands in openssh for windows server.
> https://github.com/apache/mina-sshd/blob/master/sshd-cli/src/test/java/org/apache/sshd/cli/client/ChannelExecMain.java
> h6. I have observed a few things:
>  # 
> h6. when I execute a command
> h6.  copy c:\users\atlantis\.ssh\id_rsa.pub c:\users\atlantis\id_rsa.pub & cd 
> c:\users\atlantis
> h6.  
> the copy command executes perfectly but the cd command doesn't work.
>  
>  # when the below command is executed
>           cd c:\users\atlantis & copy c:\users\atlantis\.ssh\id_rsa.pub  
> c:\users\atlantis\id_rsa.pub
> both commands get executed perfectly
> h6. 
> -----------------------------------------------------------------------------------------------------------------------------------------------
> both these commands work perfectly when using the openssh client.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to