- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSHD logging question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 03:32 AM
тАО04-04-2006 03:32 AM
Hi all,
sshd logging to syslog seems to have the time set to EDT. Unfortunately we are in PDT. The host time and the client systems all have the time set correctly. Anyone know where to look for this?
TIA Chris
Solved! Go to Solution.
- Tags:
- sshd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:28 AM
тАО04-04-2006 05:28 AM
Re: SSHD logging question
# echo $TZ
PST8PDT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:29 AM
тАО04-04-2006 05:29 AM
Re: SSHD logging question
If it is set correctly, could you please paste a snippet of your syslog to see how the log time jumps back and forth between few entries ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:48 AM
тАО04-04-2006 05:48 AM
Re: SSHD logging question
Apr 4 14:43:48 dining sshd[10645]: Accepted publickey for bak from 132.239.29.96 port 41568 ssh2
Apr 4 14:43:49 dining sshd[10652]: Accepted publickey for bak from 132.239.29.96 port 41569 ssh2
dining:/var/adm/syslog>tail -100 syslog.log |more
Apr 4 10:14:03 dining ftpd[9946]: FTP session closed
here's the TZ
dining:/var/adm/syslog>echo $TZ
PST8
here's /etc/timezone
dining:/var/adm/syslog>cat /etc/TIMEZONE
TZ=PST8
export TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:55 AM
тАО04-04-2006 05:55 AM
Re: SSHD logging question
# cat TIMEZONE
TZ=PST8PDT
export TZ
I am not sure if it is related to your problem (the lack of PDT in the TZ definition), but you sure can try and it won't hurt anything.
also which version of of sshd are you running ?
just telnet to the port 22 (or other if you are running it on an unusual setup) of your host and see what it says. I am not sure what else to suggest or ask.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:58 AM
тАО04-04-2006 05:58 AM
Re: SSHD logging question
I would (from the console) issue an /sbin/init.d/secsh stop and /sbin/init.d/secsh start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 05:59 AM
тАО04-04-2006 05:59 AM
Re: SSHD logging question
There have been some problems with connection logging in recent secure shell openssh versions.
The latest version 4.2.004 corrects some of these.
Perhaps check version.
swlist -l product | grep -i secure
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 06:01 AM
тАО04-04-2006 06:01 AM
Re: SSHD logging question
the version of ssh is
dining:/var/adm/syslog>ssh -v
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.6b 9 Jul 2001
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 06:22 AM
тАО04-04-2006 06:22 AM
Re: SSHD logging question
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 06:34 AM
тАО04-04-2006 06:34 AM
SolutionAlso, check your ssh version and upgrade to something recent if at all possible. As Stephen indicated, older versions had some logging and authentication problems.
UNIX because I majored in cryptology...