Mailing List Archive

[Bug 3185] New: some bashrc broke sshrc

Bug ID: 3185
Summary: some bashrc broke sshrc
Product: Portable OpenSSH
Version: 8.3p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: sshd

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

You are receiving this mail because:
You are watching the assignee of the bug.
openssh-bugs mailing list