Skip to content
View in the app

A better way to browse. Learn more.

Gear Crushers

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

user ssh login troubleshooting issues

Featured Replies

Here I am going to keep updating ways to troubleshoot ssh login issues on linux or unix operating systems.  Even though there are several different flavors and types of linux, the basis is typically the same.  I am currently running/testing these commands on a RH 5.x system


 


SSH Login Records


$ cat /var/log/secure


 


SSH Login Attempts


$ cat /var/log/auth.log


(some helpful filters)


$ grep sshd.*Failed /var/log/auth.log | less


$ grep sshd.*Did /var/log/auth.log | less


 


.ssh/authorized_keys


permissions, compare files checksum


 


Failed Login Attempts


$ grep "authentication failure" /var/log/secure | awk '{ print $13 }' | cut -b7-  | sort | uniq -c


 


Capture login attempts


$ tcpdump -w xpackets.pcap src 138.35.28.202 and port 22


NOTES:


$ tcpdump -D (shows available interfaces in the event you want to capture only on one interface with -i eth0)


$ tcpdump -r xpackets.pcap (will read the file file you just captured)


Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.