I'm reading sshd man: "If the file ~/.ssh/rc exists, sh(1) runs it after reading the environment files but before starting the user's shell or command." My .ssh/rc file work nice, but if my "~/.bashrc" file have command like "cd ~/Desktop" I got error during ssh logon: "/bin/sh: .ssh/rc: No such file or directory" I'm using Fedora 32 amd64
Created attachment 3414 [details] Make sshrc use absolute path Please try this patch.
Thank you! I try rebuild fedora openssh package. Unfortunately, it can take many time, because I never corecompiled source packages
This has been applied and will be in the next major release. Thanks for the report.
Mass close of all bugs fixed in 8.4 release.