Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
-
build
Description
Got this exception:
—
testAttributes(org.apache.sshd.client.subsystem.sftp.SftpFileSystemTest) Time elapsed: 5.581 sec <<< ERROR!
java.io.IOException: String permission violation (GROUP_READ) for /home/alonbl/.ssh/config
at org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver.reloadHostConfigEntries(DefaultConfigFileHostEntryResolver.java:80)
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveResolver(ConfigFileHostEntryResolver.java:86)
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveHost(ConfigFileHostEntryResolver.java:59)
at org.apache.sshd.client.SshClient.connect(SshClient.java:339)
at org.apache.sshd.client.subsystem.sftp.SftpFileSystemProvider.newFileSystem(SftpFileSystemProvider.java:177)
at org.apache.sshd.client.subsystem.sftp.SftpFileSystemProvider.newFileSystem(SftpFileSystemProvider.java:87)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:322)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:272)
at org.apache.sshd.client.subsystem.sftp.SftpFileSystemTest.testAttributes(SftpFileSystemTest.java:136)
—
While ssh code enforces only world/group writeable at readconf.c::read_config_file:
—
if (flags & SSHCONF_CHECKPERM)
—
Attachments
Issue Links
- relates to
-
SSHD-606 Windows strict permissions key file check always fails due to owner mismatch
- Resolved