Sonelli / juicessh-performancemonitor

A JuiceSSH plugin for monitoring linux servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Showing no infomation

wernight opened this issue · comments

  1. Connect to server (actually works)
  2. UI on Android show "--" for all values.

Running Linux Ubuntu LTS-based with ZSH shell, and Android beta N.

Same here.

Same here. but using marshmallow.

Audit log shows:

"Attempted to executed command: 'cat /proc/net/dev' but the requested session dosen't exist'"
"Attempted to executed command: 'df | grep /$' but the requested session dosen't exist'"
"Attempted to executed command: 'cat /proc/stat' but the requested session dosen't exist'"
"Attempted to executed command: 'cat /proc/meminfo' but the requested session dosen't exist'"
"Attempted to executed command: 'uptime' but the requested session dosen't exist'"
"Disconnected Session ####"
"Opened a session to myhost"

looks like something in the open session might be blocking things.

Same for me. I thought it may be an AWS Linux issue until I saw this thread. Used to work on same servers but suddenly stopped. Tried on lollipop and marshmallow but same thing. Connects fine but no metrics displayed.

Figured out my issue was due to MaxSessions option in sshd. /etc/ssh/sshd_config on the server I was connecting to. Updating to OpenSSH 5.1 allows me to change the default number of 10 to be higher. It solved the issue for me. Hope it helps out others with same problem.

If you tail -f the /var/log/secure file while you have the performance monitor app running and see sshd error no more sessions then that is the issue.

How many sessions is it creating?!
I get this issue with a limit of 30

It's not juice that's the issue in opening too many sessions for me. I was seeing lots of sessions open due to having quite a few move scripts using ssh and also too many users logging into the server. The issue I saw was that when juice performance monitor connected there were no sessions available for it.

Hi!
I have 2 servers that do not show any information in the display (only --). Both have one thing in common they do not use the standard ssh port 22.

The app connects to both but I get the above mentioned error message "sshd[####]: error: no more sessions". No matter how high I increase MaxSessions in /etc/ssh/sshd_config I still get this error and only -- on the display.

I am wondering if somehow when it is requesting information it is using port 22 instead of the port it used to make the original connection. The two servers that I have that it does not work on use non-standard ports and not the same number either.

To others that have posted in this issue that are only seeing -- in the display, are your ssh connections on port 22 or another port?

Thanks in advance for looking into this!
Frederick

Hi!
I have increased the MaxSessions and MaxStartups to where I no longer get the sshd error: no more sessions, however I still do not have any information displaying in the app.

With one of the servers that I am having this problem the ssh server is running on a port other than 22. On another it is running on 22 but a firewall is forwarding requests from a different port to 22 on the server.

If I login to the server via ssh I can run the commands that Hegz listed above in his log file and get results, so that does not seem to be the issue.

It seems to be spawning continuous new sessions, all while no information is coming up. This suggests some kind of loop. The more I increase the MaxSessions, the longer it takes to get the "no more sessions" error while I still see no information on my app, but eventually that error arrives.

Same here.

I'm not using any firewall or fail2ban, it's on the default port as well.

JuiceSSH connects to it fine and i can run htop.

I think it has more to do with some security that has been added in recent versions of linux distros. It works for me on debian jessie, but not on debian stretch.

Same problem here using CentOS 7.5 on the Kernel 3.10.0-862.6.3.el7.x86_64
When I connect the app to my Server the /var/log/secure gets spammed with "sshd[1974]: error: no more sessions"

Doesn't work on Arch Linux with latest kernel

ubuntu 18.04.1 LTS same problem...

I have same problem

Same problem here, please help