Hi!
I have a setup:
OpenBSD 4.4
/etc/ssh/sshd_config:
[..]
Match Group sftponly
ChrootDirectory %h
ForceCommand internal-sftp
PasswordAuthentication yes
But, after login I need to set the umask for the session.
I can not use .ssh/rc because of ForceCommand, and I can not put this
to .ssh/environment (even if I've enabled PermitUserEnvironment),
because there is no such environment variable which would apply here.
What can I do here? Any suggestions would be appreciated.
Daniel
--
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1