[arch-general] sshd - limiting sequential no. or files opened via sftp in kate?

Nero Claudius Drusus germanicus1982 at gmail.com
Thu Jun 7 13:03:02 UTC 2018


Could it be that you have run out of inotify watches? Try increasing it and
see if that helps.

On Thu, Jun 7, 2018, 12:44 AM David C. Rankin <
drankinatty at suddenlinkmail.com> wrote:

> All,
>
>   Not sure where to look for this. I have always kept kate projects
> different
> things like, different application development, different web-site editing,
> etc... Many of the projects I keep on my Arch server and have kate open the
> files via the sftp kioslave (or whatever it is called now)
>
>   For some reason, now when I open remote projects on the server, the
> first 15
> or so files open without issue. Anything over that fails with a connection
> error and the files are opened as "Untitled" and are empty (simply pressing
> "Reload" completes the opening without issue), but that has to occur after
> kate is open, and not when the project is attempting to load the files
> sequentially all at once.
>
>   The journal shows no error, just the normal sshd key authorization, etc.
> as
> session through (c17) are opened, e.g.
>
> Jun 07 01:29:04 valkyrie sshd[9269]: Accepted publickey for david from
> 192.168.6.104 port 56170 ssh2: ECDSA
> SHA256:97TPKWvaGks+sjneobeoY9RpK1Hznnh8xJCjbcAWrkQ
> Jun 07 01:29:04 valkyrie sshd[9268]: Accepted publickey for david from
> 192.168.6.104 port 56168 ssh2: ECDSA
> SHA256:97TPKWvaGks+sjneobeoY9RpK1Hznnh8xJCjbcAWrkQ
> Jun 07 01:29:04 valkyrie sshd[9269]: pam_unix(sshd:session): session opened
> for user david by (uid=0)
> Jun 07 01:29:04 valkyrie sshd[9268]: pam_unix(sshd:session): session opened
> for user david by (uid=0)
> Jun 07 01:29:04 valkyrie systemd-logind[539]: New session c5 of user david.
> Jun 07 01:29:04 valkyrie systemd[1]: Started Session c5 of user david.
> Jun 07 01:29:04 valkyrie systemd-logind[539]: New session c6 of user david.
> Jun 07 01:29:04 valkyrie systemd[1]: Started Session c6 of user david.
> Jun 07 01:29:05 valkyrie sshd[9274]: userauth_pubkey: key type ssh-dss not
> in
> PubkeyAcceptedKeyTypes [preauth]
> Jun 07 01:29:05 valkyrie sshd[9275]: userauth_pubkey: key type ssh-dss not
> in
> PubkeyAcceptedKeyTypes [preauth]
> Jun 07 01:29:05 valkyrie sshd[9272]: userauth_pubkey: key type ssh-dss not
> in
> PubkeyAcceptedKeyTypes [preauth]
> Jun 07 01:29:05 valkyrie sshd[9274]: Accepted publickey for david from
> 192.168.6.104 port 56174 ssh2: ECDSA
> SHA256:97TPKWvaGks+sjneobeoY9RpK1Hznnh8xJCjbcAWrkQ
> Jun 07 01:29:05 valkyrie sshd[9274]: pam_unix(sshd:session): session opened
> for user david by (uid=0)
> Jun 07 01:29:05 valkyrie systemd-logind[539]: New session c7 of user david.
> Jun 07 01:29:05 valkyrie systemd[1]: Started Session c7 of user david.
> ...
>
>   I don't see any failures at all in the logs, which I would expect given
> the
> connection failure. Any ideas on what could be causing this?
>
>   I don't any longer, but there were times in the past I would have 120
> files
> in a project and had no problems at all opening the project either across
> the
> LAN or remotes via the internet on my office server. So this seems like it
> is
> some protection designed to prevent hackers from hammering your server with
> ssh requests -- but it seems like it is having the side effect of
> preventing
> me from loading projects with more than say 20 files via sftp.
>
> --
> David C. Rankin, J.D.,P.E.
>


More information about the arch-general mailing list