Disappearing TTYs

If it doesn't relate to Debian, but you still want to share it, please do it here

Disappearing TTYs

Postby millpond » 2017-04-03 17:12

Today I booted up and found my PTTYs missing. Not a good thing.

A quick look in ps-aux showed that ssh-agent was messing with them.

'rkill ssh' (R(egex)KILL is my own script) - killed it, and the PTTYs returned at once.


Now, on this system I have sshd disabled, and there should be no running ssh processes. Under no conditions should there be anything from the WAN able to see a login screen. I would as soon kill off ssh-agent, but am not sure if it is needed for normal communications, especially dealing with git, and Debian archives with all their crypto-verification stuff.


I dont know where the command is coming from. Not in /etc/init.d from what i can see and not in the /etc/xdg or ~/.config autostart files (here the latter are all blank). This is Devuan, but sysctl runs on this system. So the beast is here, just dunno where to look in /etc/systemd. Or elsehwere.

For now i can kill it in my .profile (rkill ssh) but eventually I would like to disable the entire command affecting PTTYs.

Any thoughts?
millpond
 
Posts: 582
Joined: 2014-06-25 04:56

[Solved] Disappearing TTYs

Postby millpond » 2017-04-04 16:52

Problem is apparently solved.

Oddly it wasnt ssh. Killing it only worked the first time.

I have been installong Perl (which here means 80% of CPAN, and some garbage wound up in init.d. Fixed it, and the problem went away.
millpond
 
Posts: 582
Joined: 2014-06-25 04:56


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable