tomaswolf commented on issue #893:
URL: https://github.com/apache/mina-sshd/issues/893#issuecomment-4200924233

   Cannot reproduce. I've rewritten your client as a JUnit test, running it 
against OpenSSH in Alpine 3.19: 
   
   
[OpenSshChannelShellTest.java](https://github.com/user-attachments/files/26544641/OpenSshChannelShellTest.java)
   
   Running with Apache MINA SSHD 2.17.1 on Java 17 (and the docker engine up) I 
get the following output:
   ```
   <- Welcome to Alpine!
   
   The Alpine Wiki contains a large amount of how-to guides and general
   information about administrating Alpine systems.
   See <https://wiki.alpinelinux.org/>.
   
   You can setup the system with the command: setup-alpine
   
   You may change
   <-  this message by editing /etc/motd.
   
   
   <- Environment:
     USER=bob
     LOGNAME=bob
     HOME=/home/bob
     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
     MAIL=/var/mail/bob
     SHELL=/bin/ash
     TERM=dummy
     SSH_CLIENT=192.168.65.1 24853 22
     SSH_CONNECTION=192.168.65.1 24853 1
   <- 72.17.0.3 22
     SSH_TTY=/dev/pts/0
   
   <- 72a364d41225:~$ 
   -> /bin/sh -i
   
   <- ~ $ 
   -> pwd
   
   <- /home/bob
   ~ $ 
   -> exit
   
   <- 72a364d41225:~$ 
   -> exit
   
   ```
   
   Looks fine to me.
   
   I suggest you run your client with debug logging and see what you actually 
get from the server. If debug logging doesn't help use trace logging level.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to