Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oktexan
n00b
n00b


Joined: 07 Jun 2004
Posts: 4

PostPosted: Sat Mar 12, 2005 2:59 am    Post subject: Newbie Question Reply with quote

Hi all,

I'm still a relative newbie to linux. I have my home network set up in such a way that I can use SSH to log into my gentoo server from work. I have a (probably) silly question. If I log in from work, and later log out, when I get home and do a who, I still see myself still logged in from my work IP address. However, I see no sshd processes that would indicate that I'm still logged in. Is this something I should be worried about, and if so, what am I doing wrong? Thanks in advance for all the helpful advice :D

-Alan
Back to top
View user's profile Send private message
yottabit
Guru
Guru


Joined: 11 Nov 2002
Posts: 313
Location: Columbus, Ohio, US

PostPosted: Sat Mar 12, 2005 3:40 am    Post subject: Reply with quote

Huh. Occaisonally I get a stalled login but it isn't all that usual.

When you look for the process you do a 'ps aux | grep sshd' or something of the like?

I have often wondered how to clear stalled sessions from my box without rebooting, especially a hung console.
_________________
Play The Hitchhiker's Guide to the Galaxy!
Back to top
View user's profile Send private message
oktexan
n00b
n00b


Joined: 07 Jun 2004
Posts: 4

PostPosted: Sat Mar 12, 2005 3:49 am    Post subject: Reply with quote

OK, when i do a ps and grep sshd it only shows the original /sbin/sshd from Feb 11, which is the last time i rebooted that box, and the current login from tonight, but the who still shows a login from today as active. could it have something to do with our firewall at work not dropping the connection? i did a netstat, and that didn't show any current connections from outside my local LAN. It's probably not a big deal, i'm just curious.

As a side note, is ssh considered secure enough to log in as root from the internet? Or, should i just log in and su if i need to? That's what I've been doing.

anyway, i guess it's probably nothing, but it does seem wierd.
Back to top
View user's profile Send private message
yottabit
Guru
Guru


Joined: 11 Nov 2002
Posts: 313
Location: Columbus, Ohio, US

PostPosted: Sat Mar 12, 2005 3:54 am    Post subject: Reply with quote

That's very odd that who still shows the users. I'd also like to know how to clean this up.

I would say, yes, SSH is secure enough to do a root login, but I would always prefer to still sudo or su.
_________________
Play The Hitchhiker's Guide to the Galaxy!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum