Re: sshd - limiting sequential no. or files opened via sftp in kate?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



[long email, so top-posting]

MaxSessions and MaxStartups in /etc/ssh/sshd_config?

Cheers,
L.

On Thu, Jun 07, 2018 at 01:44:37AM -0500, David C. Rankin 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.

-- 
Leonid Isaev



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux